BuildLogViewer/BuildStatus.h
changeset 1 8e9c5760ce6f
child 2 6894bf2709c0
equal deleted inserted replaced
0:bbe0af256f1b 1:8e9c5760ce6f
       
     1 #ifndef BUILDSTATUS_H
       
     2 #define BUILDSTATUS_H
       
     3 
       
     4 #include <QObject>
       
     5 #include <QDateTime>
       
     6 
       
     7 class BuildStatus : public QObject
       
     8 {
       
     9 public:
       
    10     BuildStatus(QObject *parent = 0);
       
    11 
       
    12     void setName(QString n);
       
    13     QString name();
       
    14 
       
    15     void setTime(QDateTime w);
       
    16     QString Time();
       
    17 
       
    18     void setStatus (bool n ) { m_status = n ; } ;
       
    19 
       
    20 
       
    21 
       
    22     // What was the name of the package?
       
    23     QString *m_packageName;
       
    24     // At this time, the symbain build log doesn't have a timestamp in it.
       
    25     // So, we will use the timestamp on the file.
       
    26     QDateTime m_when;
       
    27     // Did the build succeed?
       
    28     bool m_status;
       
    29 };
       
    30 
       
    31 #endif // BUILDSTATUS_H