mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
relayer arranger view and extract button_2 and button_3 to top level
This commit is contained in:
parent
d1bb33dc41
commit
fe9d5a309e
43 changed files with 7158 additions and 276 deletions
19
plugin/vst/src/cache.rs
Normal file
19
plugin/vst/src/cache.rs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
use std::sync::Arc;
|
||||
|
||||
use crate::{editor::Editor, prelude::*};
|
||||
|
||||
pub(crate) struct PluginCache {
|
||||
pub info: Info,
|
||||
pub params: Arc<dyn PluginParameters>,
|
||||
pub editor: Option<Box<dyn Editor>>,
|
||||
}
|
||||
|
||||
impl PluginCache {
|
||||
pub fn new(info: &Info, params: Arc<dyn PluginParameters>, editor: Option<Box<dyn Editor>>) -> Self {
|
||||
Self {
|
||||
info: info.clone(),
|
||||
params,
|
||||
editor,
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue