summaryrefslogtreecommitdiff
path: root/src/message.h
diff options
context:
space:
mode:
authorjsc@umbraculum.org <jsc@umbraculum.org>2013-04-26 15:23:24 +0200
committerjsc@umbraculum.org <jsc@umbraculum.org>2013-04-26 15:23:24 +0200
commit3eeba619215dadb15a5fd992cba03bf760c23d3a (patch)
tree423450a0419b37fc9f3e8cf65c0a425e2e418ae7 /src/message.h
parent2eedb967d2a3f8026163bd182e973106e6846a13 (diff)
parent813d802443679a6f937a13680bc0ec3fb11a96b6 (diff)
Merge branch 'master' of http://git.drumgizmo.org/drumgizmo
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; }