summaryrefslogtreecommitdiffstats
path: root/src/client/PluginUI.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/PluginUI.hpp')
-rw-r--r--src/client/PluginUI.hpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/client/PluginUI.hpp b/src/client/PluginUI.hpp
index 312e69d5..bf60dcfa 100644
--- a/src/client/PluginUI.hpp
+++ b/src/client/PluginUI.hpp
@@ -43,16 +43,21 @@ public:
SharedPtr<NodeModel> node,
SLV2Plugin plugin);
- Ingen::Shared::World* world() const { return _world; }
- SharedPtr<NodeModel> node() const { return _node; }
- SLV2UIInstance instance() const { return _instance; }
+ LV2UI_Widget get_widget();
+
+ void port_event(uint32_t port_index,
+ uint32_t buffer_size,
+ uint32_t format,
+ const void* buffer);
+
+
+ Ingen::Shared::World* world() const { return _world; }
+ SharedPtr<NodeModel> node() const { return _node; }
private:
PluginUI(Ingen::Shared::World* world,
SharedPtr<NodeModel> node);
- void set_instance(SLV2UIInstance instance) { _instance = instance; }
-
Ingen::Shared::World* _world;
SharedPtr<NodeModel> _node;
SLV2UIInstance _instance;