summaryrefslogtreecommitdiffstats
path: root/src/engine/events/MidiLearnEvent.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/events/MidiLearnEvent.hpp')
-rw-r--r--src/engine/events/MidiLearnEvent.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/events/MidiLearnEvent.hpp b/src/engine/events/MidiLearnEvent.hpp
index c0fc4a17..1dceb041 100644
--- a/src/engine/events/MidiLearnEvent.hpp
+++ b/src/engine/events/MidiLearnEvent.hpp
@@ -72,6 +72,12 @@ public:
void post_process();
private:
+ enum ErrorType {
+ NO_ERROR,
+ INVALID_NODE_TYPE
+ };
+
+ ErrorType _error;
const string _node_path;
NodeImpl* _node;