aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-04-18 21:59:56 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-04-18 21:59:56 +0200
commit97405a1cb1e5caecf92d6727e21cd66d508c337f (patch)
tree52dab5afc3f13c3a6a8c1cf67313d573c10c31d4 /include
parentdb0d3b93e0dfb57e8d1b42c92665b0585eb2bcc9 (diff)
downloadsynthpod-97405a1cb1e5caecf92d6727e21cd66d508c337f.tar.xz
nk: prototype module position saving.
Diffstat (limited to 'include')
-rw-r--r--include/synthpod_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/synthpod_private.h b/include/synthpod_private.h
index 522268e0..7809caa3 100644
--- a/include/synthpod_private.h
+++ b/include/synthpod_private.h
@@ -348,6 +348,8 @@ struct _reg_t {
reg_item_t module_visible;
reg_item_t module_disabled;
reg_item_t module_profiling;
+ reg_item_t module_position_x;
+ reg_item_t module_position_y;
reg_item_t port_refresh;
reg_item_t port_connected;
reg_item_t port_subscribed;
@@ -597,6 +599,8 @@ sp_regs_init(reg_t *regs, LilvWorld *world, LV2_URID_Map *map)
_register(&regs->synthpod.module_visible, world, map, SYNTHPOD_PREFIX"moduleVisible");
_register(&regs->synthpod.module_disabled, world, map, SYNTHPOD_PREFIX"moduleDisabled");
_register(&regs->synthpod.module_profiling, world, map, SYNTHPOD_PREFIX"moduleProfiling");
+ _register(&regs->synthpod.module_position_x, world, map, SYNTHPOD_PREFIX"modulePositionX");
+ _register(&regs->synthpod.module_position_y, world, map, SYNTHPOD_PREFIX"modulePositionY");
_register(&regs->synthpod.port_refresh, world, map, SYNTHPOD_PREFIX"portRefresh");
_register(&regs->synthpod.port_connected, world, map, SYNTHPOD_PREFIX"portConnect");
_register(&regs->synthpod.port_subscribed, world, map, SYNTHPOD_PREFIX"portSubscribe");
@@ -815,6 +819,8 @@ sp_regs_deinit(reg_t *regs)
_unregister(&regs->synthpod.module_visible);
_unregister(&regs->synthpod.module_disabled);
_unregister(&regs->synthpod.module_profiling);
+ _unregister(&regs->synthpod.module_position_x);
+ _unregister(&regs->synthpod.module_position_y);
_unregister(&regs->synthpod.port_refresh);
_unregister(&regs->synthpod.port_connected);
_unregister(&regs->synthpod.port_subscribed);