diff options
Diffstat (limited to 'src/drumkitloader.h')
-rw-r--r-- | src/drumkitloader.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/drumkitloader.h b/src/drumkitloader.h index b9bc102..50b8236 100644 --- a/src/drumkitloader.h +++ b/src/drumkitloader.h @@ -48,13 +48,18 @@ public: bool isDone(); + void stop(); + void skip(); + private: DrumGizmo *drumgizmo; Semaphore semaphore; + Semaphore skip_semaphore; DrumKit *kit; bool is_done; Mutex mutex; - bool quitit; + volatile bool quitit; + volatile bool skipit; }; #endif/*__DRUMGIZMO_DRUMKITLOADER_H__*/ |