Debian Codegraph @

online-accounts-plugins/lib/LomiriOnlineAccountsPlugin/account-manager.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2013 Canonical Ltd.
3 *
4 * Contact: Alberto Mardegan <[email protected]>
5 *
6 * This file is part of liblomiri-online-accounts-plugin
7 *
8 * This program is free software: you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License version 3, as published
10 * by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranties of
14 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef OAU_ACCOUNT_MANAGER_H
22 #define OAU_ACCOUNT_MANAGER_H
23
24 #include "global.h"
25 #include <Accounts/Manager>
26
27 namespace OnlineAccountsUi {
28
29 class OAP_EXPORT AccountManager: public Accounts::Manager
30 {
31 Q_OBJECT
32
33 public:
34 static AccountManager *instance();
35
36 protected:
37 explicit AccountManager(QObject *parent = 0);
38 ~AccountManager();
39
40 private:
41 static AccountManager *m_instance;
42 };
43
44 } // namespace
45
46 #endif // OAU_ACCOUNT_MANAGER_H