Save Lua UI scripts separately
[ardour.git] / gtk2_ardour / send_ui.h
index 2c71466518a762698c4b359d1874093a39c1b0cb..731f079790450a768f3360d95e1d3208809b1764 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "gain_meter.h"
 #include "panner_ui.h"
-#include "ardour_dialog.h"
+#include "ardour_window.h"
 
 namespace ARDOUR {
        class Send;
@@ -54,12 +54,11 @@ class SendUI : public Gtk::HBox
        sigc::connection screen_update_connection;
        sigc::connection fast_screen_update_connection;
 
-       void ins_changed (ARDOUR::IOChange, void*);
        void outs_changed (ARDOUR::IOChange, void*);
        PBD::ScopedConnectionList connections;
 };
 
-class SendUIWindow : public ArdourDialog
+class SendUIWindow : public ArdourWindow
 {
   public:
        SendUIWindow(boost::shared_ptr<ARDOUR::Send>, ARDOUR::Session*);
@@ -70,8 +69,7 @@ class SendUIWindow : public ArdourDialog
   private:
        Gtk::HBox hpacker;
 
-       void send_going_away ();
-       boost::signals2::scoped_connection going_away_connection;
+       PBD::ScopedConnection going_away_connection;
 };
 
 #endif /* __ardour_gtk_send_ui_h__ */