summaryrefslogtreecommitdiff
path: root/src/instrumentparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/instrumentparser.h')
-rw-r--r--src/instrumentparser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/instrumentparser.h b/src/instrumentparser.h
index e87489f..f88f2ae 100644
--- a/src/instrumentparser.h
+++ b/src/instrumentparser.h
@@ -32,11 +32,13 @@
#include <memory>
#include <vector>
+class Settings;
+
class InstrumentParser
: public SAXParser
{
public:
- InstrumentParser(Instrument &instrument);
+ InstrumentParser(Instrument &instrument, Settings& settings);
virtual ~InstrumentParser() = default;
virtual int parseFile(const std::string& filename) override;
@@ -57,4 +59,6 @@ private:
level_t lower{0};
level_t upper{0};
+
+ Settings& settings;
};