diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-04-07 13:01:34 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-04-07 13:01:34 +0200 |
commit | 331be8dc452bf47705556d2a7f7f5988973930ca (patch) | |
tree | 164a30fd5cef68a39713315085da8bd7901a1d07 /src/drumkit.h | |
parent | 064f0112bd825f1102a94e109e5329710d59eb82 (diff) |
Fixed crashbug on drumkit reload.
Diffstat (limited to 'src/drumkit.h')
-rw-r--r-- | src/drumkit.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drumkit.h b/src/drumkit.h index d25b6b3..2ed558d 100644 --- a/src/drumkit.h +++ b/src/drumkit.h @@ -37,6 +37,7 @@ class DrumKitParser; class DrumKit { friend class DrumKitParser; public: + DrumKit(); ~DrumKit(); std::string name(); @@ -45,7 +46,13 @@ public: Instruments instruments; Channels channels; + void clear(); + + bool isValid(); + private: + void *magic; + std::string _name; std::string _description; }; |