summaryrefslogtreecommitdiff
path: root/src/instrumentparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/instrumentparser.h')
-rw-r--r--src/instrumentparser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/instrumentparser.h b/src/instrumentparser.h
index 512f12f..e87489f 100644
--- a/src/instrumentparser.h
+++ b/src/instrumentparser.h
@@ -41,13 +41,15 @@ public:
virtual int parseFile(const std::string& filename) override;
- std::vector<InstrumentChannel*> channellist;
+ std::vector<InstrumentChannel> channellist;
protected:
virtual void startTag(const std::string& name, const attr_t& attr) override;
virtual void endTag(const std::string& name) override;
private:
+ InstrumentChannel* addOrGetChannel(const std::string& name);
+
Instrument& instrument;
Sample* sample{nullptr};