| 1 | /* |
| 2 | * This file is part of OnlineAccountsDaemon |
| 3 | * |
| 4 | * Copyright (C) 2015 Canonical Ltd. |
| 5 | * |
| 6 | * Contact: Alberto Mardegan <[email protected]> |
| 7 | * |
| 8 | * This program is free software: you can redistribute it and/or modify it |
| 9 | * under the terms of the GNU Lesser General Public License version 3, as |
| 10 | * published 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 Lesser General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU Lesser General Public License |
| 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #ifndef ONLINE_ACCOUNTS_DAEMON_MANAGER_H |
| 22 | #define ONLINE_ACCOUNTS_DAEMON_MANAGER_Hcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/manager.h:22:9`! |
| 23 | |
| 24 | #include <QDBusArgument> |
| 25 | #include <QDBusContext> |
| 26 | #include <QList> |
| 27 | #include <QObject> |
| 28 | #include <QVariantMap> |
| 29 | |
| 30 | #include "global.h"cxx . . $ `<file>/online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/global.h`/ |
| 31 | |
| 32 | namespace OnlineAccountsDaemoncxx . . $ OnlineAccountsDaemon/ { |
| 33 | |
| 34 | struct AccountInfocxx . . $ OnlineAccountsDaemon/AccountInfo#; |
| 35 | class CallContextcxx . . $ OnlineAccountsDaemon/CallContext#; |
| 36 | class ManagerAdaptorcxx . . $ OnlineAccountsDaemon/ManagerAdaptor#; |
| 37 | |
| 38 | class ManagerPrivatecxx . . $ OnlineAccountsDaemon/ManagerPrivate#; |
| 39 | class OAD_EXPORTcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/global.h:29:11`! Managercxx . . $ OnlineAccountsDaemon/Manager#: public QObjectcxx . . $ QObject#, protected QDBusContextcxx . . $ QDBusContext# |
| 40 | { |
| 41 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 42 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool isIdle READ isIdle NOTIFY isIdleChanged) |
| 43 | |
| 44 | public: |
| 45 | explicit Managercxx . . $ OnlineAccountsDaemon/Manager#Manager(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 46 | ~cxx . . $ OnlineAccountsDaemon/Manager#`~Manager`(ced63f7c635d850d).Managercxx . . $ OnlineAccountsDaemon/Manager#(); |
| 47 | |
| 48 | bool isIdlecxx . . $ OnlineAccountsDaemon/Manager#isIdle(50ce9a9e25b4a850).() const; |
| 49 | |
| 50 | QListcxx . . $ QList#<AccountInfocxx . . $ OnlineAccountsDaemon/AccountInfo#> getAccountscxx . . $ OnlineAccountsDaemon/Manager#getAccounts(84aa7a8527b080bf).(const QVariantMapcxx . . $ QVariantMap# &filters, |
| 51 | const CallContextcxx . . $ OnlineAccountsDaemon/CallContext# &context, |
| 52 | QListcxx . . $ QList#<QVariantMapcxx . . $ QVariantMap#> &services); |
| 53 | void authenticatecxx . . $ OnlineAccountsDaemon/Manager#authenticate(72cc74449f23761c).(uintcxx . . $ uint# accountId, const QStringcxx . . $ QString# &serviceId, |
| 54 | bool interactive, bool invalidate, |
| 55 | const QVariantMapcxx . . $ QVariantMap# ¶meters, |
| 56 | const CallContextcxx . . $ OnlineAccountsDaemon/CallContext# &context); |
| 57 | void requestAccesscxx . . $ OnlineAccountsDaemon/Manager#requestAccess(8b4488fd6c3dcec4).(const QStringcxx . . $ QString# &serviceId, |
| 58 | const QVariantMapcxx . . $ QVariantMap# ¶meters, |
| 59 | const CallContextcxx . . $ OnlineAccountsDaemon/CallContext# &context); |
| 60 | |
| 61 | public Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 62 | void onDisconnectedcxx . . $ OnlineAccountsDaemon/Manager#onDisconnected(49f6e7a06ebc5aa8).(); |
| 63 | |
| 64 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 65 | void isIdleChangedcxx . . $ OnlineAccountsDaemon/Manager#isIdleChanged(49f6e7a06ebc5aa8).(); |
| 66 | |
| 67 | private: |
| 68 | friend class ManagerAdaptorcxx . . $ OnlineAccountsDaemon/ManagerAdaptor#; |
| 69 | Q_DECLARE_PRIVATEcxx . . $ OnlineAccountsDaemon/Manager#d_func(e71857d7d4773a2b).(Manager) |
| 70 | ManagerPrivatecxx . . $ OnlineAccountsDaemon/ManagerPrivate# *d_ptrcxx . . $ OnlineAccountsDaemon/Manager#d_ptr.; |
| 71 | }; |
| 72 | |
| 73 | } // namespace |
| 74 | |
| 75 | #endif // ONLINE_ACCOUNTS_DAEMON_MANAGER_H |