summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PluginModel.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-12-21 03:32:55 +0000
committerDavid Robillard <d@drobilla.net>2007-12-21 03:32:55 +0000
commit39dbfbaf661bfec067d02b26bbc04608d74413c6 (patch)
tree11b3d8948b881f3272b944a483466dd1b57fdbf9 /src/libs/client/PluginModel.hpp
parent3efacf8a4ac1b0c90b544f41881596ff91f37efa (diff)
downloadingen-39dbfbaf661bfec067d02b26bbc04608d74413c6.tar.gz
ingen-39dbfbaf661bfec067d02b26bbc04608d74413c6.tar.bz2
ingen-39dbfbaf661bfec067d02b26bbc04608d74413c6.zip
Fix SLV2 GUI sketchiness, repeated embedding/unembedding/pop-up/window destroy, etc.
Break out LV2 GUI stuff to a separate class, SharedPtr it up, spiffify, etc. git-svn-id: http://svn.drobilla.net/lad/ingen@993 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/PluginModel.hpp')
-rw-r--r--src/libs/client/PluginModel.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/client/PluginModel.hpp b/src/libs/client/PluginModel.hpp
index 25dd2d9c..de90bba2 100644
--- a/src/libs/client/PluginModel.hpp
+++ b/src/libs/client/PluginModel.hpp
@@ -37,6 +37,7 @@ namespace Client {
class PatchModel;
class NodeModel;
+class PluginUI;
/** Model for a plugin available for loading.
@@ -89,7 +90,8 @@ public:
_slv2_plugins = slv2_world_get_all_plugins(_slv2_world);
}
- SLV2UIInstance ui(Ingen::Shared::EngineInterface* engine, NodeModel* node) const;
+ SharedPtr<PluginUI> ui(SharedPtr<Shared::EngineInterface> engine,
+ SharedPtr<NodeModel> node) const;
const string& icon_path() const;
static string get_lv2_icon_path(SLV2Plugin plugin);