view logparser.h @ 44:bed7ab59f62e

* A snatched bit of work on graph layout
author Chris Cannam
date Tue, 09 Nov 2010 17:51:12 +0000
parents c32067cd19f8
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