summaryrefslogtreecommitdiff
path: root/src/drumkit.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-12-01 21:03:38 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-12-01 21:03:38 +0100
commit020900458c11838faae36c134da14945d93424a7 (patch)
tree9123a39258ba1458c2009653b6a73cca3fb5687f /src/drumkit.cc
parent0a0becd384da4b0ed892dcd32285dd646ad720df (diff)
Protect file string.
Diffstat (limited to 'src/drumkit.cc')
-rw-r--r--src/drumkit.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drumkit.cc b/src/drumkit.cc
index 0104720..c2aa221 100644
--- a/src/drumkit.cc
+++ b/src/drumkit.cc
@@ -57,6 +57,11 @@ bool DrumKit::isValid()
return this == magic;
}
+std::string DrumKit::file()
+{
+ return _file;
+}
+
std::string DrumKit::name()
{
return _name;