start using ActionMap in preference to ActionManager
[ardour.git] / gtk2_ardour / vst_plugin_ui.h
index 9ab38fe446cad58856c14e1d7d0599cee21a196b..ac35a1768824080f72e0bef1eb17e713127fa32b 100644 (file)
@@ -35,21 +35,27 @@ 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<ARDOUR::VSTPlugin> _vst;
        Gtk::Socket _socket;
+       virtual void top_box_allocated (Gtk::Allocation&) {}
+
+       bool dispatch_effeditkey (GdkEventKey*);
 
 private:
 
        bool configure_handler (GdkEventConfigure *);
-       void preset_selected ();
+       void preset_selected (ARDOUR::Plugin::PresetRecord preset);
 };
 
 #endif