diff options
Diffstat (limited to 'plugingui/plugingui.h')
-rw-r--r-- | plugingui/plugingui.h | 10 |
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; |