summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_ui.h
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2006-08-08 04:17:26 +0000
committerTaybin Rutkin <taybin@taybin.com>2006-08-08 04:17:26 +0000
commitfb8903e443eadb265d049c9921afa23b2a672584 (patch)
treebe7bffa8441cba361815afb8f4fc31cebd8b5ddf /gtk2_ardour/plugin_ui.h
parentf961bbd941d1e9c90c13d53f62abd7de7878195b (diff)
AudioUnit work.
Filled in some stub functions. Started AUPluginUI class. git-svn-id: svn://localhost/ardour2/trunk@762 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_ui.h')
-rw-r--r--gtk2_ardour/plugin_ui.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/gtk2_ardour/plugin_ui.h b/gtk2_ardour/plugin_ui.h
index 570a224b66..0d0055fd47 100644
--- a/gtk2_ardour/plugin_ui.h
+++ b/gtk2_ardour/plugin_ui.h
@@ -50,6 +50,7 @@ namespace ARDOUR {
class Plugin;
class VSTPlugin;
class Redirect;
+ class AUPlugin;
}
namespace PBD {
@@ -231,6 +232,22 @@ class VSTPluginUI : public PlugUIBase, public Gtk::VBox
bool configure_handler (GdkEventConfigure*, Gtk::Socket*);
void save_plugin_setting ();
};
-#endif
+#endif // VST_SUPPORT
+
+#ifdef HAVE_COREAUDIO
+class AUPluginUI : public PlugUIBase
+{
+ public:
+ AUPluginUI (boost::shared_ptr<ARDOUR::PluginInsert>, boost::shared_ptr<ARDOUR::AUPlugin>);
+ ~AUPluginUI ();
+
+ gint get_preferred_height ();
+ bool start_updating(GdkEventAny*) {return false;}
+ bool stop_updating(GdkEventAny*) {return false;}
+
+ private:
+ boost::shared_ptr<ARDOUR::AUPlugin> au;
+};
+#endif // HAVE_COREAUDIO
#endif /* __ardour_plugin_ui_h__ */