Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef S60DEVICES_H
#define S60DEVICES_H
#include <QtCore/QObject>
#include <QtCore/QString>
#include <QtCore/QList>
namespace Qt4ProjectManager {
namespace Internal {
class S60Devices : public QObject
{
Q_OBJECT
public:
struct Device {
QString id;
QString name;
bool isDefault;
QString epocRoot;
QString toolsRoot;
QString qt;
};
S60Devices(QObject *parent = 0);
bool read();
QString errorString() const;
QList<Device> devices() const;
bool detectQtForDevices();
Device deviceForRoot(const QString &epocRoot) const;
private:
QString m_errorString;
QList<Device> m_devices;
};
} // namespace Internal
} // namespace Qt4ProjectManager
#endif // S60DEVICES_H