summaryrefslogtreecommitdiff
path: root/src/instrument.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/instrument.h')
-rw-r--r--src/instrument.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/instrument.h b/src/instrument.h
index a302412..b7ddeea 100644
--- a/src/instrument.h
+++ b/src/instrument.h
@@ -31,8 +31,10 @@
#include <vector>
#include "rangemap.h"
+#include "powerlist.h"
#include "sample.h"
+#include "versionstr.h"
class InstrumentParser;
class Instrument {
@@ -61,8 +63,14 @@ private:
std::string _group;
std::string _name;
std::string _description;
+
+ VersionStr _version;
+
RangeMap<level_t, Sample*> samples;
+ PowerList powerlist;
+
void addSample(level_t a, level_t b, Sample *s);
+ void finalise(); ///< Signal instrument that no more samples will be added.
std::vector<Sample*> samplelist;