summaryrefslogtreecommitdiffstats
path: root/ingen/client/PluginUI.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ingen/client/PluginUI.hpp')
-rw-r--r--ingen/client/PluginUI.hpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/ingen/client/PluginUI.hpp b/ingen/client/PluginUI.hpp
index 1c45bd56..60403570 100644
--- a/ingen/client/PluginUI.hpp
+++ b/ingen/client/PluginUI.hpp
@@ -32,7 +32,7 @@ class World;
namespace Client {
-class NodeModel;
+class BlockModel;
/** Model for a plugin available for loading.
*
@@ -42,9 +42,9 @@ class PluginUI {
public:
~PluginUI();
- static SharedPtr<PluginUI> create(Ingen::World* world,
- SharedPtr<const NodeModel> node,
- const LilvPlugin* plugin);
+ static SharedPtr<PluginUI> create(Ingen::World* world,
+ SharedPtr<const BlockModel> block,
+ const LilvPlugin* plugin);
SuilWidget get_widget();
@@ -55,18 +55,18 @@ public:
bool is_resizable() const;
- Ingen::World* world() const { return _world; }
- SharedPtr<const NodeModel> node() const { return _node; }
+ Ingen::World* world() const { return _world; }
+ SharedPtr<const BlockModel> block() const { return _block; }
private:
- PluginUI(Ingen::World* world,
- SharedPtr<const NodeModel> node,
- const LilvNode* ui_node);
-
- Ingen::World* _world;
- SharedPtr<const NodeModel> _node;
- SuilInstance* _instance;
- LilvNode* _ui_node;
+ PluginUI(Ingen::World* world,
+ SharedPtr<const BlockModel> block,
+ const LilvNode* ui_node);
+
+ Ingen::World* _world;
+ SharedPtr<const BlockModel> _block;
+ SuilInstance* _instance;
+ LilvNode* _ui_node;
static SuilHost* ui_host;