diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-10-23 19:14:24 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-10-23 19:14:24 +0200 |
commit | 3712300508b45c86c57b318d5d0f075ad59c6a55 (patch) | |
tree | c1e22b7c8925cd032b9fad464ed13b6897db3380 /include | |
parent | 266a219aace9eae60438f968b82ec1b57661fd99 (diff) | |
download | synthpod-3712300508b45c86c57b318d5d0f075ad59c6a55.tar.xz |
nk: prototype open plugin ui state saving.
Diffstat (limited to 'include')
-rw-r--r-- | include/synthpod_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/synthpod_private.h b/include/synthpod_private.h index ae60796d..ed6652fb 100644 --- a/include/synthpod_private.h +++ b/include/synthpod_private.h @@ -188,6 +188,7 @@ struct _reg_t { reg_item_t update_rate; reg_item_t instance_access; reg_item_t data_access; + reg_item_t ui; } ui; struct { @@ -491,6 +492,7 @@ sp_regs_init(reg_t *regs, LilvWorld *world, LV2_URID_Map *map) _register(®s->ui.update_rate, world, map, LV2_UI__updateRate); _register(®s->ui.instance_access, world, map, LV2_INSTANCE_ACCESS_URI); _register(®s->ui.data_access, world, map, LV2_DATA_ACCESS_URI); + _register(®s->ui.ui, world, map, LV2_UI__ui); #ifndef LV2_PRESETS__bank # define LV2_PRESETS__bank LV2_PRESETS_PREFIX "bank" @@ -747,6 +749,7 @@ sp_regs_deinit(reg_t *regs) _unregister(®s->ui.update_rate); _unregister(®s->ui.instance_access); _unregister(®s->ui.data_access); + _unregister(®s->ui.ui); _unregister(®s->pset.preset); _unregister(®s->pset.preset_bank); |