From 331be8dc452bf47705556d2a7f7f5988973930ca Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 7 Apr 2013 13:01:34 +0200 Subject: Fixed crashbug on drumkit reload. --- src/drumkit.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/drumkit.h') 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; }; -- cgit v1.2.3