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 |
1 | 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); |
|
2
6894bf2709c0
add some regex to parse status information.
John Kern <johnk@symbian.org>
parents:
1
diff
changeset
|
13 |
const QString *name(); |
1 | 14 |
|
15 |
void setTime(QDateTime w); |
|
2
6894bf2709c0
add some regex to parse status information.
John Kern <johnk@symbian.org>
parents:
1
diff
changeset
|
16 |
QString time(); |
1 | 17 |
|
2
6894bf2709c0
add some regex to parse status information.
John Kern <johnk@symbian.org>
parents:
1
diff
changeset
|
18 |
void setStatus (bool n ); |
6894bf2709c0
add some regex to parse status information.
John Kern <johnk@symbian.org>
parents:
1
diff
changeset
|
19 |
const QString *status(); |
1 | 20 |
|
2
6894bf2709c0
add some regex to parse status information.
John Kern <johnk@symbian.org>
parents:
1
diff
changeset
|
21 |
private: |
1 | 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; |
|
2
6894bf2709c0
add some regex to parse status information.
John Kern <johnk@symbian.org>
parents:
1
diff
changeset
|
29 |
QString *m_PresentStatus; |
1 | 30 |
}; |
31 |
||
32 |
#endif // BUILDSTATUS_H |