diff options
author | deva <deva> | 2008-12-21 19:24:29 +0000 |
---|---|---|
committer | deva <deva> | 2008-12-21 19:24:29 +0000 |
commit | 5dcfbc8bd840dfd60573e038194a43b37ebfc047 (patch) | |
tree | 477b760b574a455441f6586123ff5adef6036c95 /src/drumkitparser.h | |
parent | 90d1466d82e01fd7e5e2d2b49977e2dccaac9e33 (diff) |
Added some cli options. Made preload optional on the commandline. Made chdir to drumkit file prior to loading of the samples.
Diffstat (limited to 'src/drumkitparser.h')
-rw-r--r-- | src/drumkitparser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drumkitparser.h b/src/drumkitparser.h index 6fd696c..6192286 100644 --- a/src/drumkitparser.h +++ b/src/drumkitparser.h @@ -32,7 +32,7 @@ class DrumKitParser : public SAXParser { public: - DrumKitParser(char *file); + DrumKitParser(std::string kitfile, bool preload = false); ~DrumKitParser(); void startTag(std::string name, std::map< std::string, std::string> attributes); @@ -50,6 +50,8 @@ private: Sample *lastsample; Instrument *lastinstrument; Velocity *lastvelocity; + + bool preload; }; #endif/*__DRUMGIZMO_DRUMKITPARSER_H__*/ |