From cdbae7738c35268fd9a208be0618c4ea11475935 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 23 Jan 2012 20:33:17 +0100 Subject: New config interface (xml). Instruments now contains pointers (fix memleak). --- src/drumgizmo.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/drumgizmo.h') 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; }; -- cgit v1.2.3