From a3e49c6472b79923c658950271affd8578a1bad8 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Wed, 22 Oct 2014 15:41:46 +0200 Subject: Added metadata to drumkitloader. --- src/drumgizmo.cc | 2 +- src/drumkitloader.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index 14a5516..ae3b8e4 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -147,7 +147,7 @@ void DrumGizmo::handleMessage(Message *msg) { DrumkitInfoMessage *msg = new DrumkitInfoMessage(); msg->metadata = loader.metadata; - msghandler.sendMessage(MSGRC_UI, msg); + msghandler.sendMessage(MSGRCV_UI, msg); } break; case Message::ChangeSettingMessage: diff --git a/src/drumkitloader.h b/src/drumkitloader.h index 2c0ea8e..d936c3a 100644 --- a/src/drumkitloader.h +++ b/src/drumkitloader.h @@ -34,6 +34,8 @@ #include "semaphore.h" #include "mutex.h" +#include "drumkitparser.h" + #include "drumkit.h" /** @@ -85,6 +87,7 @@ public: */ void skip(); + MetaData metadata; private: Semaphore run_semaphore; Semaphore semaphore; -- cgit v1.2.3