summaryrefslogtreecommitdiff
path: root/gtk2_ardour/patch_change_widget.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-10-25 18:01:08 +0200
committerRobin Gareus <robin@gareus.org>2019-10-25 21:24:25 +0200
commitc0c1fd8b604d396cd6c1cd1a709597607e2625ce (patch)
tree8df14f6bbe2104503c1bdd177bfa1869a91aac8c /gtk2_ardour/patch_change_widget.h
parent61f32339ef00f59befa864b9a0dd58c9a9fd54b2 (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/patch_change_widget.h')
-rw-r--r--gtk2_ardour/patch_change_widget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/patch_change_widget.h b/gtk2_ardour/patch_change_widget.h
index 860c02026f..35fc46e35e 100644
--- a/gtk2_ardour/patch_change_widget.h
+++ b/gtk2_ardour/patch_change_widget.h
@@ -32,7 +32,7 @@
#include "widgets/ardour_dropdown.h"
#include "ardour_dialog.h"
-#include "gtk_pianokeyboard.h"
+#include "pianokeyboard.h"
class PatchChangeWidget : public Gtk::VBox
{
@@ -99,7 +99,7 @@ private:
uint8_t _audition_note_num;
bool _audition_note_on;
- PianoKeyboard _piano;
+ APianoKeyboard _piano;
void _note_on_event_handler (int, int);
void note_on_event_handler (int, bool for_audition);