Updated version number in files
[vicar] / src / vicar-lib / cpp / harmattanaccountutility.h
1 /*
2 @version: 0.7
3 @author: Sudheer K. <scifi1947 at gmail.com>
4 @license: GNU General Public License
5 */
6
7 #ifndef HARMATTANACCOUNTUTILITY_H
8 #define HARMATTANACCOUNTUTILITY_H
9
10 #if defined(Q_WS_MAEMO_6)
11
12 #include <QObject>
13
14 #include <Accounts/Account>
15 #include <Accounts/Error>
16 #include <Accounts/Manager>
17
18 using namespace Accounts;
19
20 class HarmattanAccountUtility : public QObject
21 {
22     Q_OBJECT
23
24 public:
25     HarmattanAccountUtility();
26     Account* getAccount();
27     Account* addAccount();
28     void removeAccount();
29     void verifyAccount();
30
31 public slots:
32     void errorOccurred(Accounts::Error);
33
34 private:
35     Manager *manager;
36
37 };
38
39 #endif //defined (Q_WS_MAEMO_6)
40
41 #endif // HARMATTANACCOUNTUTILITY_H