summaryrefslogtreecommitdiff
path: root/plugingui/plugingui.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-06-29 21:46:10 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-06-29 21:46:10 +0200
commit1827f1ab9bf44490cf24779e0eab8533845b4a77 (patch)
treed374c7cc1aed4af9d351113cd43178a7e1f4b5f9 /plugingui/plugingui.h
parentd6b684158d3549f343d1f4d22f4eefba7c873837 (diff)
New inter-thread message system.
Diffstat (limited to 'plugingui/plugingui.h')
-rw-r--r--plugingui/plugingui.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugingui/plugingui.h b/plugingui/plugingui.h
index 97e45b8..cd050de 100644
--- a/plugingui/plugingui.h
+++ b/plugingui/plugingui.h
@@ -42,11 +42,11 @@
#include "thread.h"
#include "semaphore.h"
-class DrumGizmo;
+#include "messagereceiver.h"
-class PluginGUI : public Thread {
+class PluginGUI : public Thread, public MessageReceiver {
public:
- PluginGUI(DrumGizmo *drumgizmo);
+ PluginGUI();
~PluginGUI();
void thread_main();
@@ -60,14 +60,14 @@ public:
void processEvents();
void setWindowClosedCallback(void (*handler)(void *), void *ptr);
+ void handleMessage(Message *msg);
+
//private:
GUI::Window *window;
GUI::EventHandler *eventhandler;
GUI::FileBrowser *filebrowser;
- DrumGizmo *drumgizmo;
-
GUI::CheckBox *check;
GUI::Knob *knob;
GUI::Knob *knob2;