Version 0.7-0
[vicar] / src / vicar-lib / cpp / harmattanaccountutility.h
1 #ifndef HARMATTANACCOUNTUTILITY_H
2 #define HARMATTANACCOUNTUTILITY_H
3
4 #if defined(Q_WS_MAEMO_6)
5
6 #include <QObject>
7
8 #include <Accounts/Account>
9 #include <Accounts/Error>
10 #include <Accounts/Manager>
11
12 using namespace Accounts;
13
14 class HarmattanAccountUtility : public QObject
15 {
16     Q_OBJECT
17
18 public:
19     HarmattanAccountUtility();
20     Account* getAccount();
21     Account* addAccount();
22     void removeAccount();
23     void verifyAccount();
24
25 public slots:
26     void errorOccurred(Accounts::Error);
27
28 private:
29     Manager *manager;
30
31 };
32
33 #endif //defined (Q_WS_MAEMO_6)
34
35 #endif // HARMATTANACCOUNTUTILITY_H