Fix uninitialized variable
[ardour.git] / gtk2_ardour / windows_vst_plugin_ui.h
index 646d0c29933b08907090ef490a66a34d79b3247d..4ec00a7ee672293473480cce0f8b3fc5201e6fb9 100644 (file)
 
 */
 
+#ifndef __windows_vst_plugin_ui_h__
+#define __windows_vst_plugin_ui_h__
+
+#include "pbd/signals.h"
 #include "vst_plugin_ui.h"
 
 class WindowsVSTPluginUI : public VSTPluginUI
 {
 public:
-       WindowsVSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert>, boost::shared_ptr<ARDOUR::VSTPlugin>);
+       WindowsVSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert>, boost::shared_ptr<ARDOUR::VSTPlugin>, GtkWidget *parent);
        ~WindowsVSTPluginUI ();
 
-       gint get_preferred_height ();
-       gint get_preferred_width ();
        bool start_updating (GdkEventAny*) { return false; }
        bool stop_updating (GdkEventAny*) { return false; }
 
@@ -35,7 +37,11 @@ public:
        void forward_key_event (GdkEventKey *);
 
 private:
-       
+
+       void resize_callback ();
        int get_XID ();
-       
+       void top_box_allocated (Gtk::Allocation&);
+
+       PBD::ScopedConnection _resize_connection;
 };
+#endif