diff options
author | Robin Gareus <robin@gareus.org> | 2019-10-25 18:01:08 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-10-25 21:24:25 +0200 |
commit | c0c1fd8b604d396cd6c1cd1a709597607e2625ce (patch) | |
tree | 8df14f6bbe2104503c1bdd177bfa1869a91aac8c /gtk2_ardour/virtual_keyboard_window.h | |
parent | 61f32339ef00f59befa864b9a0dd58c9a9fd54b2 (diff) |
Rename PianoKeyboard class, avoid ambiguities
A C++ class "PianoKeyboard" in the global namespace may cause
issues with some plugins that export and use an identically
named symbol.
Diffstat (limited to 'gtk2_ardour/virtual_keyboard_window.h')
-rw-r--r-- | gtk2_ardour/virtual_keyboard_window.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/virtual_keyboard_window.h b/gtk2_ardour/virtual_keyboard_window.h index 2094d7696f..2820bf7231 100644 --- a/gtk2_ardour/virtual_keyboard_window.h +++ b/gtk2_ardour/virtual_keyboard_window.h @@ -33,7 +33,7 @@ #include "widgets/slider_controller.h" #include "ardour_window.h" -#include "gtk_pianokeyboard.h" +#include "pianokeyboard.h" namespace ARDOUR { class Session; @@ -119,7 +119,7 @@ private: bool toggle_note_label (GdkEventButton*); bool send_panic_message (GdkEventButton*); - PianoKeyboard _piano; + APianoKeyboard _piano; Gtk::SpinButton _piano_channel; Gtk::SpinButton _transpose_output; |