X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Fvst_plugin_ui.h;h=5c8df726c7ef8f0f9f3a0b54aae261ded5208602;hb=4f5ca7ecb5b7230f54e123339f7bc05e752bbc96;hp=9ab38fe446cad58856c14e1d7d0599cee21a196b;hpb=e913b03fb6205589494fcc99f05917ec871e81c6;p=ardour.git diff --git a/gtk2_ardour/vst_plugin_ui.h b/gtk2_ardour/vst_plugin_ui.h index 9ab38fe446..5c8df726c7 100644 --- a/gtk2_ardour/vst_plugin_ui.h +++ b/gtk2_ardour/vst_plugin_ui.h @@ -35,21 +35,24 @@ public: virtual int get_preferred_height (); virtual int get_preferred_width (); + bool on_window_show (const std::string& title); + void on_window_hide(); + virtual int package (Gtk::Window &); bool non_gtk_gui () const { return true; } - + protected: virtual int get_XID () = 0; - + boost::shared_ptr _vst; Gtk::Socket _socket; private: bool configure_handler (GdkEventConfigure *); - void preset_selected (); + void preset_selected (ARDOUR::Plugin::PresetRecord preset); }; #endif