Fixed some valgrind errors from using uninitialized variables in
[ardour.git] / gtk2_ardour / ardour_dialog.h
index 9af434993acba57ebd331efac963fa03aa75c1e4..a23dcda9e0000d718e3903ed716fe0028623eb00 100644 (file)
@@ -36,17 +36,9 @@ namespace ARDOUR {
 class ArdourDialog : public Gtk::Dialog
 {
   public:
-       ArdourDialog (string name);
+       ArdourDialog (std::string title, bool modal = false, bool use_separator = false);
        ~ArdourDialog();
 
-       bool within_hiding() const { return _within_hiding; }
-
-       void run ();
-       void stop (int);
-       void set_keyboard_input (bool yn);
-       void set_hide_on_stop (bool yn);
-       int  run_status();
-
        bool on_enter_notify_event (GdkEventCrossing*);
        bool on_leave_notify_event (GdkEventCrossing*);
        void on_unmap ();
@@ -60,15 +52,6 @@ class ArdourDialog : public Gtk::Dialog
        virtual void session_gone () {
                set_session (0);
        }
-
-       void quit ();
-
-  private:
-       int  _run_status;
-       bool _within_hiding;
-       bool kbd_input;
-       bool running;
-       bool hide_on_stop;
 };
 
 #endif // __ardour_dialog_h__