summaryrefslogtreecommitdiff
path: root/src/drumkitparser.h
diff options
context:
space:
mode:
authordeva <deva>2008-12-21 19:24:29 +0000
committerdeva <deva>2008-12-21 19:24:29 +0000
commit5dcfbc8bd840dfd60573e038194a43b37ebfc047 (patch)
tree477b760b574a455441f6586123ff5adef6036c95 /src/drumkitparser.h
parent90d1466d82e01fd7e5e2d2b49977e2dccaac9e33 (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.h4
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__*/