BuildLogViewer/BuildStatus.h
author John Kern <johnk@symbian.org>
Thu, 12 Aug 2010 17:06:22 -0700
changeset 26 d9f0df25b6a3
parent 3 e6d1a78b6db9
permissions -rwxr-xr-x
resolved merge

#ifndef BUILDSTATUS_H
#define BUILDSTATUS_H

#include <QObject>
#include <QDateTime>

class BuildStatus : public QObject
{
    Q_OBJECT

public:
    BuildStatus(QObject *parent = 0);

public slots:
    void setName(QString n);
    void setStatus (bool n );
    void setTime(QDateTime w);

signals:
    void textEmitted(const QString &);

public:
    const QString *name();
    const QString *status();
    QString time();

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