summaryrefslogtreecommitdiff
path: root/src/drumgizmo.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-01-23 20:33:17 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2012-01-23 20:33:17 +0100
commitcdbae7738c35268fd9a208be0618c4ea11475935 (patch)
tree60acd18fcf988d5bfa31559520816aa0735b6e6c /src/drumgizmo.h
parentf58c2e7aee2e392bdeea68abea960db0178b0a98 (diff)
New config interface (xml). Instruments now contains pointers (fix memleak).
Diffstat (limited to 'src/drumgizmo.h')
-rw-r--r--src/drumgizmo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drumgizmo.h b/src/drumgizmo.h
index 2f85d51..a3ad3ca 100644
--- a/src/drumgizmo.h
+++ b/src/drumgizmo.h
@@ -46,6 +46,7 @@ public:
~DrumGizmo();
bool loadkit(const std::string &kitfile);
+ std::string drumkitfile();
bool init(bool preload = true);
@@ -57,6 +58,11 @@ public:
bool isRunning() { return is_running; }
+ std::string configString();
+ void setConfigString(std::string cfg);
+
+ std::string midimapfile;
+
private:
bool is_running;
@@ -71,6 +77,8 @@ private:
public:
#endif
DrumKit kit;
+
+ std::string kitfile;
};