diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-03-23 22:38:44 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-03-31 21:05:35 +0200 |
commit | c2997b9b1a5b831e76b1779aa957f2312a6e5089 (patch) | |
tree | 6b53afdabd50daed098891b8d2c3de0770ccae18 /src/instrument.h | |
parent | 87e14b57d197a7e917ad55250f132fd50df3ccdc (diff) |
Settings.
Diffstat (limited to 'src/instrument.h')
-rw-r--r-- | src/instrument.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/instrument.h b/src/instrument.h index de5546b..7c8c52d 100644 --- a/src/instrument.h +++ b/src/instrument.h @@ -36,13 +36,14 @@ #include "versionstr.h" #include "random.h" -class InstrumentParser; +#include "settings.h" + class Instrument { friend class InstrumentParser; public: - Instrument(); + Instrument(Settings& settings); ~Instrument(); Sample* sample(level_t level, size_t pos); @@ -78,6 +79,8 @@ private: size_t lastpos; float mod; + Settings& settings; +}; Random rand; }; |