Use Session::session_directory to access the sound path of the session in Editor...
[ardour.git] / gtk2_ardour / keyboard.h
index ec55dc54db7e4ddd111fb3a983c7d1fc031211be..c1351bfaf60777bc28982b7c891ac114aee23e20 100644 (file)
@@ -90,6 +90,10 @@ class Keyboard : public sigc::trackable, Stateful
 
        static Keyboard& the_keyboard() { return *_the_keyboard; }
 
+       static bool some_magic_widget_has_focus ();
+       static void magic_widget_grab_focus ();
+       static void magic_widget_drop_focus ();
+
   private:
        static Keyboard* _the_keyboard;
 
@@ -104,6 +108,8 @@ class Keyboard : public sigc::trackable, Stateful
 
        static gint _snooper (GtkWidget*, GdkEventKey*, gpointer);
        gint snooper (GtkWidget*, GdkEventKey*);
+
+       static bool _some_magic_widget_has_focus;
 };
 
 #endif /* __ardour_keyboard_h__ */