summaryrefslogtreecommitdiff
path: root/src/drumkitloader.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-22 22:42:05 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-22 22:42:05 +0100
commit47e1f28f1fe9fecf969d63f059b8ec8c0184605e (patch)
tree47ac2c6a2256b75601fa7077c994cdbfbeadc62a /src/drumkitloader.h
parent70cc80a11a44c73c3cf548c7cedf2a520a025fb6 (diff)
Added Engine->Messageing system. Implemented LoadStatus Message. Added ProgressBar widget. Made FileBrowser chdir to old value (needs further fixing). More printf->hugin ports.
Diffstat (limited to 'src/drumkitloader.h')
-rw-r--r--src/drumkitloader.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/drumkitloader.h b/src/drumkitloader.h
index c308761..b9bc102 100644
--- a/src/drumkitloader.h
+++ b/src/drumkitloader.h
@@ -35,9 +35,11 @@
#include "drumkit.h"
+class DrumGizmo;
+
class DrumKitLoader : public Thread {
public:
- DrumKitLoader();
+ DrumKitLoader(DrumGizmo *drumgizmo);
~DrumKitLoader();
void loadKit(DrumKit *kit);
@@ -47,6 +49,7 @@ public:
bool isDone();
private:
+ DrumGizmo *drumgizmo;
Semaphore semaphore;
DrumKit *kit;
bool is_done;