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/note_select_dialog.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/note_select_dialog.h')
-rw-r--r-- | gtk2_ardour/note_select_dialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/note_select_dialog.h b/gtk2_ardour/note_select_dialog.h index 893952e60d..4475f4998e 100644 --- a/gtk2_ardour/note_select_dialog.h +++ b/gtk2_ardour/note_select_dialog.h @@ -22,7 +22,7 @@ #include <stdint.h> #include "ardour_dialog.h" -#include "gtk_pianokeyboard.h" +#include "pianokeyboard.h" class NoteSelectDialog : public ArdourDialog { @@ -32,8 +32,8 @@ public: uint8_t note_number() const { return _note_number; } private: - PianoKeyboard _piano; - uint8_t _note_number; + APianoKeyboard _piano; + uint8_t _note_number; void note_on_event_handler(int, int); }; |