diff options
author | Robin Gareus <robin@gareus.org> | 2014-06-25 21:27:37 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-06-25 21:47:54 +0200 |
commit | a3c378cf62939c85bcfa3b4c55b68c9163c5e21e (patch) | |
tree | e12ed4ef7caf02422df4dd7378269295c5b60a95 /gtk2_ardour/public_editor.h | |
parent | 1bd4e448defb93c879bf25167cf42b6d8534eb73 (diff) |
move utility functions into a dedicated namespace
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r-- | gtk2_ardour/public_editor.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index 35c75e469e..184cb77d52 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -84,6 +84,11 @@ class VerboseCursor; class XMLNode; struct SelectionRect; +namespace ARDOUR_UI_UTILS { +bool relay_key_press (GdkEventKey* ev, Gtk::Window* win); +bool forward_key_press (GdkEventKey* ev); +} + using ARDOUR::framepos_t; using ARDOUR::framecnt_t; @@ -408,8 +413,8 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible, publi static PublicEditor* _instance; - friend bool relay_key_press (GdkEventKey*, Gtk::Window*); - friend bool forward_key_press (GdkEventKey*); + friend bool ARDOUR_UI_UTILS::relay_key_press (GdkEventKey*, Gtk::Window*); + friend bool ARDOUR_UI_UTILS::forward_key_press (GdkEventKey*); PBD::Signal0<void> SnapChanged; PBD::Signal0<void> MouseModeChanged; |