summaryrefslogtreecommitdiff
path: root/src/message.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-04-26 15:18:22 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-04-26 15:18:22 +0200
commit813d802443679a6f937a13680bc0ec3fb11a96b6 (patch)
tree832080cb77616941ede4572fcf845eb4281f59ba /src/message.h
parent605dee007b10fbca1a03b0a2b604b4e999ad7c0f (diff)
Add MidimapLoadStatus Message.
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/message.h b/src/message.h
index 9bf2f12..4ce65ef 100644
--- a/src/message.h
+++ b/src/message.h
@@ -32,6 +32,7 @@ public:
typedef enum {
// Engine -> GUI Messages:
LoadStatus, // Signal GUI the current load status.
+ LoadStatusMidimap, // Signal GUI the current load status of the midimap.
// GUI -> Engine, Engine -> Engine Messages:
LoadDrumKit, // Signal engine to load drumkit.
@@ -52,6 +53,12 @@ public:
std::string current_file;
};
+class LoadStatusMessageMidimap : public Message {
+public:
+ type_t type() { return Message::LoadStatusMidimap; }
+ bool success;
+};
+
class LoadDrumKitMessage : public Message {
public:
type_t type() { return Message::LoadDrumKit; }