comparison logparser.h @ 43:c32067cd19f8

* Some experiments towards a graph history view
author Chris Cannam
date Sun, 07 Nov 2010 19:59:54 +0000
parents
children f583e44d9d31
comparison
equal deleted inserted replaced
42:9a89dedf260a 43:c32067cd19f8
1 #ifndef LOGPARSER_H
2 #define LOGPARSER_H
3
4 #include <QObject>
5 #include <QString>
6 #include <QList>
7 #include <QMap>
8
9 typedef QMap<QString, QString> LogEntry;
10 typedef QList<LogEntry> LogList;
11
12 class LogParser : public QObject
13 {
14 public:
15 LogParser(QString text);
16
17 QStringList split();
18 LogList parse();
19
20 private:
21 QString m_text;
22 };
23
24 #endif // LOGPARSER_H