summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-06-29 21:52:39 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-06-29 21:52:39 +0200
commita3c8cfd881371b5675b1e714f9953685299e8879 (patch)
tree780e1167c5c596daa0916d441fe4be5631e49943 /src
parent1d552637fd68a82b454b7d5c50d3599707914d5b (diff)
Remove unused UI message.
Diffstat (limited to 'src')
-rw-r--r--src/drumgizmo.cc7
-rw-r--r--src/message.h7
2 files changed, 0 insertions, 14 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index 5e14179..cd0196c 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -114,13 +114,6 @@ void DrumGizmo::handleMessage(Message *msg)
{
DEBUG(msg, "got message.");
switch(msg->type()) {
- case Message::RegisterUIMessage:
- {
- DEBUG(msg, "got RegisterUIMessage message.");
- RegisterUIMessage *m = (RegisterUIMessage*)msg;
- ui = m->messagehandler;
- }
- break;
case Message::LoadDrumKit:
{
DEBUG(msg, "got LoadDrumKitMessage message.");
diff --git a/src/message.h b/src/message.h
index d51c263..07b0300 100644
--- a/src/message.h
+++ b/src/message.h
@@ -43,7 +43,6 @@ public:
LoadMidimap, // Signal engine to load midimap.
EngineSettingsMessage, // Request or receive engine settings.
ChangeSettingMessage, // Update named setting in engine.
- RegisterUIMessage, // Register new UI message handler
} type_t;
typedef enum {
@@ -119,10 +118,4 @@ public:
float value;
};
-class RegisterUIMessage : public Message {
-public:
- type_t type() { return Message::RegisterUIMessage; }
- MessageHandler *messagehandler;
-};
-
#endif/*__DRUMGIZMO_MESSAGE_H__*/