X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fardour_window.h;h=f9d762d17747712262e79d2dffe13078c2b7b907;hb=921d2c5809a101995165ee05ad970d4a21adcdf8;hp=7ae9c3dbce205b52ddbd472e232710293d7d61b6;hpb=ced4378d0914bcfb926267772c45d1d23f3bed38;p=ardour.git diff --git a/gtk2_ardour/ardour_window.h b/gtk2_ardour/ardour_window.h index 7ae9c3dbce..f9d762d177 100644 --- a/gtk2_ardour/ardour_window.h +++ b/gtk2_ardour/ardour_window.h @@ -20,7 +20,6 @@ #ifndef __ardour_window_h__ #define __ardour_window_h__ -#include #include #include "gtkmm2ext/visibility_tracker.h" @@ -39,20 +38,21 @@ namespace WM { */ class ArdourWindow : public Gtk::Window, public ARDOUR::SessionHandlePtr, public Gtkmm2ext::VisibilityTracker { - public: +public: ArdourWindow (std::string title); ArdourWindow (Gtk::Window& parent, std::string title); - ~ArdourWindow(); + virtual ~ArdourWindow(); +protected: bool on_focus_in_event (GdkEventFocus*); bool on_focus_out_event (GdkEventFocus*); - bool on_delete_event (GdkEventAny *); - bool on_key_press_event (GdkEventKey*); + bool on_delete_event (GdkEventAny *); + bool on_key_press_event (GdkEventKey*); void on_unmap (); - private: - WM::ProxyTemporary* proxy; - void init (); +private: + WM::ProxyTemporary* proxy; + void init (); }; #endif // __ardour_window_h__