id_t becomes a fully-fledged object, UUID's used for IDs, generic MIDI now owns bindi...
[ardour.git] / gtk2_ardour / keyboard.h
index 8e1c0f1b939ff3cfe21d40445d23f497c39cbc83..c13b06afe50f6dad2ff204fda0926303b713e297 100644 (file)
@@ -28,7 +28,9 @@
 #include <gtk/gtk.h>
 
 #include <ardour/types.h>
-#include <ardour/stateful.h>
+#include <pbd/stateful.h>
+
+#include "selection.h"
 
 using std::vector;
 using std::string;
@@ -65,12 +67,14 @@ class Keyboard : public sigc::trackable, Stateful
                return (ev->state & RelevantModifierKeyMask) == 0;
        }
 
-       bool leave_window (GdkEventCrossing *ev);
-       bool enter_window (GdkEventCrossing *ev);
+       bool leave_window (GdkEventCrossing *ev, Gtk::Window*);
+       bool enter_window (GdkEventCrossing *ev, Gtk::Window*);
 
        static bool modifier_state_contains (guint state, ModifierMask);
        static bool modifier_state_equals   (guint state, ModifierMask);
 
+       static Selection::Operation selection_type (guint state);
+
        static bool no_modifiers_active (guint state);
 
        static void set_meta_modifier (guint);