aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2020-04-14 20:33:58 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2020-04-14 20:33:58 +0200
commita81615d287946ef24a6d93a19a690fc3472763f8 (patch)
tree30794766b90dfc57621f0cb95d3ff70963c24846 /include
parentc3636f219d9af8c28e99bbf888310170a929bd01 (diff)
downloadsynthpod-a81615d287946ef24a6d93a19a690fc3472763f8.tar.xz
prototype instance-access support for X11UIs.
Diffstat (limited to 'include')
-rw-r--r--include/synthpod_private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/synthpod_private.h b/include/synthpod_private.h
index f7d4cc28..bb09ef4f 100644
--- a/include/synthpod_private.h
+++ b/include/synthpod_private.h
@@ -421,6 +421,10 @@ struct _reg_t {
struct {
reg_item_t surface;
} idisp;
+
+ struct {
+ reg_item_t access;
+ } instance;
};
static inline void
@@ -712,6 +716,8 @@ sp_regs_init(reg_t *regs, LilvWorld *world, LV2_URID_Map *map)
_register(&regs->midi.controller_number, world, map, LV2_MIDI__controllerNumber);
_register(&regs->idisp.surface, world, map, LV2_INLINEDISPLAY_PREFIX"surface");
+
+ _register(&regs->instance.access, world, map, LV2_INSTANCE_ACCESS_URI);
}
static inline void
@@ -973,6 +979,8 @@ sp_regs_deinit(reg_t *regs)
_unregister(&regs->midi.controller_number);
_unregister(&regs->idisp.surface);
+
+ _unregister(&regs->instance.access);
}
#if 0