view 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
line wrap: on
line source
#ifndef LOGPARSER_H
#define LOGPARSER_H

#include <QObject>
#include <QString>
#include <QList>
#include <QMap>

typedef QMap<QString, QString> LogEntry;
typedef QList<LogEntry> LogList;

class LogParser : public QObject
{
public:
    LogParser(QString text);

    QStringList split();
    LogList parse();

private:
    QString m_text;
};

#endif // LOGPARSER_H