summaryrefslogtreecommitdiff
path: root/src/instrument.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/instrument.cc')
-rw-r--r--src/instrument.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/instrument.cc b/src/instrument.cc
index 29619d8..6cc4ee9 100644
--- a/src/instrument.cc
+++ b/src/instrument.cc
@@ -94,6 +94,11 @@ void Instrument::finalise()
}
}
+std::size_t Instrument::getID() const
+{
+ return id;
+}
+
const std::string& Instrument::getName() const
{
return _name;
@@ -146,3 +151,8 @@ float Instrument::getMinPower() const
return 0.0f;
}
}
+
+const std::vector<Choke>& Instrument::getChokes()
+{
+ return chokes;
+}