aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/synthpod_private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/synthpod_private.h b/include/synthpod_private.h
index 09e803d..7f7744e 100644
--- a/include/synthpod_private.h
+++ b/include/synthpod_private.h
@@ -51,6 +51,7 @@
#include <lv2_extensions.h> // ardour inline display
#include <osc.lv2/osc.h>
+#include <canvas.lv2/canvas.h>
typedef enum _port_type_t port_type_t;
typedef enum _port_atom_type_t port_atom_type_t;
@@ -277,6 +278,10 @@ struct _reg_t {
} xpress;
struct {
+ reg_item_t graph;
+ } canvas;
+
+ struct {
reg_item_t group;
reg_item_t left;
reg_item_t right;
@@ -576,6 +581,8 @@ sp_regs_init(reg_t *regs, LilvWorld *world, LV2_URID_Map *map)
_register(&regs->xpress.message, world, map, "http://open-music-kontrollers.ch/lv2/xpress#Message");
+ _register(&regs->canvas.graph, world, map, CANVAS__graph);
+
_register(&regs->group.group, world, map, LV2_PORT_GROUPS__group);
_register(&regs->group.left, world, map, LV2_PORT_GROUPS__left);
_register(&regs->group.right, world, map, LV2_PORT_GROUPS__right);
@@ -836,6 +843,8 @@ sp_regs_deinit(reg_t *regs)
_unregister(&regs->xpress.message);
+ _unregister(&regs->canvas.graph);
+
_unregister(&regs->group.group);
_unregister(&regs->group.left);
_unregister(&regs->group.right);