summaryrefslogtreecommitdiff
path: root/src/drumkitloader.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-03-23 22:38:44 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-03-23 22:38:44 +0100
commit569636bbd766710f5ac60a66c402acc70cdf77a8 (patch)
tree95712842bb1550c879796ce8444eaecf0e3741e9 /src/drumkitloader.h
parent571e5a5feab478f6481db96343dfaf566bd2ab6d (diff)
Settings.
Diffstat (limited to 'src/drumkitloader.h')
-rw-r--r--src/drumkitloader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drumkitloader.h b/src/drumkitloader.h
index 8819d71..320677a 100644
--- a/src/drumkitloader.h
+++ b/src/drumkitloader.h
@@ -34,6 +34,7 @@
#include "mutex.h"
#include "drumkit.h"
+#include "settings.h"
//! This class is responsible for loading the drumkits in its own thread.
//! All interaction calls are simply modifying queues and not doing any
@@ -45,7 +46,7 @@ class DrumKitLoader
{
public:
//! The constrcutor starts the loader thread.
- DrumKitLoader();
+ DrumKitLoader(Settings& settings);
//! The destructor signals the thread to stop and waits to merge before
//! returning (ie. deleting the object will garantuee that the thread has
@@ -82,4 +83,5 @@ protected:
size_t fraction{1};
size_t loaded{0};
size_t framesize{0};
+ Settings& settings;
};