| 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_APPLICATION_MANAGER_H |
| 22 | #define OAU_APPLICATION_MANAGER_Hcxx . . $ `online-accounts-plugins/lib/LomiriOnlineAccountsPlugin/application-manager.h:22:9`! |
| 23 | |
| 24 | #include "global.h"cxx . . $ `<file>/online-accounts-plugins/lib/LomiriOnlineAccountsPlugin/global.h`/ |
| 25 | |
| 26 | #include <Accounts/Application> |
| 27 | #include <QObject> |
| 28 | #include <QStringList> |
| 29 | #include <QVariantMap> |
| 30 | |
| 31 | class ApplicationManagerTestcxx . . $ ApplicationManagerTest#; |
| 32 | |
| 33 | namespace OnlineAccountsUicxx . . $ OnlineAccountsUi/ { |
| 34 | |
| 35 | class ApplicationManagerPrivatecxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#; |
| 36 | class OAP_EXPORTcxx . . $ `online-accounts-plugins/lib/LomiriOnlineAccountsPlugin/global.h:29:11`! ApplicationManagercxx . . $ OnlineAccountsUi/ApplicationManager#: public QObjectcxx . . $ QObject# |
| 37 | { |
| 38 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 39 | |
| 40 | public: |
| 41 | static ApplicationManagercxx . . $ OnlineAccountsUi/ApplicationManager# *instancecxx . . $ OnlineAccountsUi/ApplicationManager#instance(e61827766a1125e9).(); |
| 42 | |
| 43 | Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! QVariantMapcxx . . $ QVariantMap# applicationInfocxx . . $ OnlineAccountsUi/ApplicationManager#applicationInfo(d822f47b982b0b13).(const QStringcxx . . $ QString# &applicationId, |
| 44 | const QStringcxx . . $ QString# &profile); |
| 45 | QVariantMapcxx . . $ QVariantMap# providerInfocxx . . $ OnlineAccountsUi/ApplicationManager#providerInfo(b5169218cdb2f965).(const QStringcxx . . $ QString# &providerId) const; |
| 46 | |
| 47 | Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! QStringListcxx . . $ QStringList# usefulProviderscxx . . $ OnlineAccountsUi/ApplicationManager#usefulProviders(e1dbd5c4feadc8f5).() const; |
| 48 | |
| 49 | Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! QStringListcxx . . $ QStringList# addApplicationToAclcxx . . $ OnlineAccountsUi/ApplicationManager#addApplicationToAcl(75f30ff5959b637d).(const QStringListcxx . . $ QStringList# &acl, |
| 50 | const QStringcxx . . $ QString# &appId) const; |
| 51 | Q_INVOKABLEcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:124:9`! QStringListcxx . . $ QStringList# removeApplicationFromAclcxx . . $ OnlineAccountsUi/ApplicationManager#removeApplicationFromAcl(75f30ff5959b637d).(const QStringListcxx . . $ QStringList# &acl, |
| 52 | const QStringcxx . . $ QString# &appId) const; |
| 53 | Accountscxx . . $ Accounts/::Applicationcxx . . $ Accounts/Application# applicationFromProfilecxx . . $ OnlineAccountsUi/ApplicationManager#applicationFromProfile(2395a26dc7c1e889).(const QStringcxx . . $ QString# &profile); |
| 54 | |
| 55 | protected: |
| 56 | explicit ApplicationManagercxx . . $ OnlineAccountsUi/ApplicationManager#ApplicationManager(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 57 | ~cxx . . $ OnlineAccountsUi/ApplicationManager#`~ApplicationManager`(ced63f7c635d850d).ApplicationManagercxx . . $ OnlineAccountsUi/ApplicationManager#(); |
| 58 | |
| 59 | private: |
| 60 | static ApplicationManagercxx . . $ OnlineAccountsUi/ApplicationManager# *m_instancecxx . . $ OnlineAccountsUi/ApplicationManager#m_instance.; |
| 61 | ApplicationManagerPrivatecxx . . $ OnlineAccountsUi/ApplicationManagerPrivate# *d_ptrcxx . . $ OnlineAccountsUi/ApplicationManager#d_ptr.; |
| 62 | Q_DECLARE_PRIVATEcxx . . $ `<external>/15045578679651060896/qglobal.h:1158:9`!(ApplicationManager) |
| 63 | friend class ::ApplicationManagerTestcxx . . $ ApplicationManagerTest#; |
| 64 | }; |
| 65 | |
| 66 | } // namespace |
| 67 | |
| 68 | #endif // OAU_APPLICATION_MANAGER_H |