Prefer testing the session instead of using a global variable
[ardour.git] / gtk2_ardour / ardour_dialog.h
index c65eaa5a098dbeaba8778de644aacab253e9abf8..76d7ac1d08a34d7c9047c8003c31961f5d496b60 100644 (file)
@@ -47,13 +47,16 @@ public:
        bool on_delete_event (GdkEventAny*);
        void on_unmap ();
        void on_show ();
-       void on_response (int);
+       virtual void on_response (int);
+
+protected:
+       void pop_splash ();
+       void close_self ();
 
 private:
        WM::ProxyTemporary* proxy;
        bool _splash_pushed;
        void init ();
-       void pop_splash ();
 
        static sigc::signal<void> CloseAllDialogs;
 };