summaryrefslogtreecommitdiffstats
path: root/src/client/PluginUI.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-22 06:26:38 +0000
committerDavid Robillard <d@drobilla.net>2011-04-22 06:26:38 +0000
commit0e069818d39bdf323d6b694730997e71ab12905e (patch)
tree970bce00e73fa9d31669c80051dc568eb3f7ece0 /src/client/PluginUI.hpp
parent138a87e915ad3aff184730415105f94c874174bf (diff)
downloadingen-0e069818d39bdf323d6b694730997e71ab12905e.tar.gz
ingen-0e069818d39bdf323d6b694730997e71ab12905e.tar.bz2
ingen-0e069818d39bdf323d6b694730997e71ab12905e.zip
Remove UI instance API from SLV2 (apps should implement UIs via Suil now).
Remove UI extension API and header from public APIs entirely. Rework UI instance API to support multiple UIs and a more precise notion of embedding support. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3186 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/PluginUI.hpp')
-rw-r--r--src/client/PluginUI.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client/PluginUI.hpp b/src/client/PluginUI.hpp
index e07da923..f9dc0bbb 100644
--- a/src/client/PluginUI.hpp
+++ b/src/client/PluginUI.hpp
@@ -19,8 +19,11 @@
#define INGEN_CLIENT_PLUGINUI_HPP
#include "raul/SharedPtr.hpp"
+
#include "slv2/slv2.h"
+#include "suil/suil.h"
+
#include "LV2Features.hpp"
namespace Ingen {
@@ -45,7 +48,7 @@ public:
SharedPtr<NodeModel> node,
SLV2Plugin plugin);
- LV2UI_Widget get_widget();
+ SuilWidget get_widget();
void port_event(uint32_t port_index,
uint32_t buffer_size,
@@ -61,9 +64,9 @@ private:
Ingen::Shared::World* _world;
SharedPtr<NodeModel> _node;
- SLV2UIInstance _instance;
+ SuilInstance _instance;
- static SLV2UIHost ui_host;
+ static SuilHost ui_host;
SharedPtr<Shared::LV2Features::FeatureArray> _features;
};