summaryrefslogtreecommitdiff
path: root/plugingui/plugingui.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/plugingui.h')
-rw-r--r--plugingui/plugingui.h6
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;
};