summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-08-08 22:28:31 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2011-08-08 22:28:31 +0200
commit4920ff67f81b9f0c92ec8330136e6f1e949b040f (patch)
tree3f2c5ec1b7e8012df348733cc7924c4ff8579b96 /src
parent0829acfd11e529503ccfdff296d5e87bff7ec26f (diff)
Missing midimap changes
Diffstat (limited to 'src')
-rw-r--r--src/saxparser.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/saxparser.h b/src/saxparser.h
index 8415b6b..c3700bf 100644
--- a/src/saxparser.h
+++ b/src/saxparser.h
@@ -31,6 +31,8 @@
#include <map>
#include <expat.h>
+typedef std::map< std::string, std::string> attr_t;
+
class SAXParser {
public:
SAXParser();
@@ -39,8 +41,7 @@ public:
int parse();
virtual void characterData(std::string &data) {}
- virtual void startTag(std::string name,
- std::map< std::string, std::string> attributes) {}
+ virtual void startTag(std::string name, attr_t attr) {}
virtual void endTag(std::string name) {}
virtual void parseError(char *buf, size_t len, std::string error, int lineno);