summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_ui.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-11-13 16:32:30 +0100
committerRobin Gareus <robin@gareus.org>2016-11-13 16:35:06 +0100
commit80fa696564a2b261b6cf751ff61e4d885d3a2dc0 (patch)
treee8a568760dc06daf3283523f1a05cfb8f5500554 /gtk2_ardour/plugin_ui.h
parent8b93fb02f38148c25c91ed41a4f12735be38dbf0 (diff)
basic Mac VST Cocoa UI support
Diffstat (limited to 'gtk2_ardour/plugin_ui.h')
-rw-r--r--gtk2_ardour/plugin_ui.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/plugin_ui.h b/gtk2_ardour/plugin_ui.h
index 4fb052b5f5..ad800e284d 100644
--- a/gtk2_ardour/plugin_ui.h
+++ b/gtk2_ardour/plugin_ui.h
@@ -79,6 +79,7 @@ namespace Gtkmm2ext {
class LatencyGUI;
class ArdourWindow;
class PluginEqGui;
+class VSTPluginUI;
class PlugUIBase : public virtual sigc::trackable, public PBD::ScopedConnectionList
{
@@ -347,10 +348,18 @@ class PluginUIWindow : public ArdourWindow
bool create_windows_vst_editor (boost::shared_ptr<ARDOUR::PluginInsert>);
bool create_lxvst_editor(boost::shared_ptr<ARDOUR::PluginInsert>);
+ bool create_mac_vst_editor(boost::shared_ptr<ARDOUR::PluginInsert>);
bool create_audiounit_editor (boost::shared_ptr<ARDOUR::PluginInsert>);
bool create_lv2_editor (boost::shared_ptr<ARDOUR::PluginInsert>);
};
+#ifdef MACVST_SUPPORT
+/* this function has to be in a .mm file
+ * because MacVSTPluginUI has Cocoa members
+ */
+extern VSTPluginUI* create_mac_vst_gui (boost::shared_ptr<ARDOUR::PluginInsert>);
+#endif
+
#ifdef AUDIOUNIT_SUPPORT
/* this function has to be in a .mm file */
extern PlugUIBase* create_au_gui (boost::shared_ptr<ARDOUR::PluginInsert>, Gtk::VBox**);