diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-04-28 20:30:05 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-04-28 20:30:05 +0200 |
commit | cdbb903edbbe71d3e7a8db61728164b88e8e9c45 (patch) | |
tree | 468caa16babdb10134f442181feb876ed2b3ae1b /plugingui/plugingui.h | |
parent | 3eeba619215dadb15a5fd992cba03bf760c23d3a (diff) |
Fix gui crash on window close. Make drumkit and midimap file and status reshow in the gui.
Diffstat (limited to 'plugingui/plugingui.h')
-rw-r--r-- | plugingui/plugingui.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/plugingui.h b/plugingui/plugingui.h index 1f0bf57..ac0023b 100644 --- a/plugingui/plugingui.h +++ b/plugingui/plugingui.h @@ -51,17 +51,16 @@ public: ~PluginGUI(); void thread_main(); + void stopThread(); void init(); + void deinit(); void show(); void hide(); void processEvents(); void setWindowClosedCallback(void (*handler)(void *), void *ptr); - void setChangeMidimapCallback(void (*handler)(void *, const char *), - void *ptr); - //private: GUI::GlobalContext *gctx; GUI::Window *window; @@ -91,6 +90,7 @@ public: private: volatile bool running; + volatile bool closing; Semaphore sem; }; |