region list patch #2 from chris g, slightly reworked by me; sv_se po changes, possibl...
[ardour.git] / gtk2_ardour / ardour_dialog.h
index 0b93dfb37b25b3d384c4d62fb896b2dc0b6aae4d..b2c531b0d03d5ca873f0896b1c32e7d330ef43d0 100644 (file)
@@ -26,7 +26,7 @@
 
 namespace ARDOUR {
        class Session;
-};
+}
 
 /*
  * This virtual parent class is so that each dialog box uses the
@@ -36,12 +36,14 @@ namespace ARDOUR {
 class ArdourDialog : public Gtk::Dialog
 {
   public:
-       ArdourDialog (std::string title, bool modal = false);
+       ArdourDialog (std::string title, bool modal = false, bool use_separator = false);
+       ArdourDialog (Gtk::Window& parent, std::string title, bool modal = false, bool use_separator = false);  
        ~ArdourDialog();
 
        bool on_enter_notify_event (GdkEventCrossing*);
        bool on_leave_notify_event (GdkEventCrossing*);
        void on_unmap ();
+       void on_show ();
 
        ARDOUR::Session *session;
 
@@ -52,6 +54,10 @@ class ArdourDialog : public Gtk::Dialog
        virtual void session_gone () {
                set_session (0);
        }
+
+  private:
+       void init ();
 };
 
 #endif // __ardour_dialog_h__
+