BuildLogViewer/BuildStatus.h
author John Kern <johnk@symbian.org>
Thu, 03 Sep 2009 16:31:30 -0700
changeset 2 6894bf2709c0
parent 1 8e9c5760ce6f
child 3 e6d1a78b6db9
permissions -rwxr-xr-x
add some regex to parse status information.

#ifndef BUILDSTATUS_H
#define BUILDSTATUS_H

#include <QObject>
#include <QDateTime>

class BuildStatus : public QObject
{
public:
    BuildStatus(QObject *parent = 0);

    void setName(QString n);
    const QString *name();

    void setTime(QDateTime w);
    QString time();

    void setStatus (bool n );
    const QString *status();

private:
    // What was the name of the package?
    QString *m_packageName;
    // At this time, the symbain build log doesn't have a timestamp in it.
    // So, we will use the timestamp on the file.
    QDateTime m_when;
    // Did the build succeed?
    bool m_status;
    QString *m_PresentStatus;
};

#endif // BUILDSTATUS_H