summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drumkit.cc5
-rw-r--r--src/drumkit.h4
2 files changed, 9 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;
diff --git a/src/drumkit.h b/src/drumkit.h
index c1e5a69..82fe69b 100644
--- a/src/drumkit.h
+++ b/src/drumkit.h
@@ -41,6 +41,8 @@ public:
DrumKit();
~DrumKit();
+ std::string file();
+
std::string name();
std::string description();
@@ -54,6 +56,8 @@ public:
private:
void *magic;
+ std::string _file;
+
std::string _name;
std::string _description;