| 1 | /* |
| 2 | * This file is part of lomiri-online-accounts-service |
| 3 | * |
| 4 | * Copyright (C) 2012 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 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 SIGNON_UI_INDICATOR_SERVICE_H |
| 22 | #define SIGNON_UI_INDICATOR_SERVICE_Hcxx . . $ `online-accounts-service/src/indicator-service.h:22:9`! |
| 23 | |
| 24 | #include <QObject> |
| 25 | #include <QSet> |
| 26 | #include <QVariantMap> |
| 27 | |
| 28 | namespace SignOnUicxx . . $ SignOnUi/ { |
| 29 | |
| 30 | #define WEBCREDENTIALS_OBJECT_PATHcxx . . $ `online-accounts-service/src/indicator-service.h:30:9`! \ |
| 31 | QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("/com/canonical/indicators/webcredentials") |
| 32 | #define WEBCREDENTIALS_INTERFACEcxx . . $ `online-accounts-service/src/indicator-service.h:32:9`! \ |
| 33 | QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("com.canonical.indicators.webcredentials") |
| 34 | #define WEBCREDENTIALS_BUS_NAMEcxx . . $ `online-accounts-service/src/indicator-service.h:34:9`! WEBCREDENTIALS_INTERFACEcxx . . $ `online-accounts-service/src/indicator-service.h:32:9`! |
| 35 | |
| 36 | class IndicatorServicePrivatecxx . . $ SignOnUi/IndicatorServicePrivate#; |
| 37 | |
| 38 | class IndicatorServicecxx . . $ SignOnUi/IndicatorService#: public QObjectcxx . . $ QObject# |
| 39 | { |
| 40 | Q_OBJECTcxx . . $ SignOnUi/IndicatorService#staticMetaObject. |
| 41 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool isIdle READ isIdle NOTIFY isIdleChanged) |
| 42 | |
| 43 | public: |
| 44 | |
| 45 | explicit IndicatorServicecxx . . $ SignOnUi/IndicatorService#IndicatorService(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 46 | ~cxx . . $ SignOnUi/IndicatorService#`~IndicatorService`(ced63f7c635d850d).IndicatorServicecxx . . $ SignOnUi/IndicatorService#(); |
| 47 | |
| 48 | static IndicatorServicecxx . . $ SignOnUi/IndicatorService# *instancecxx . . $ SignOnUi/IndicatorService#instance(dfb173c382d9d9a3).(); |
| 49 | |
| 50 | QObjectcxx . . $ QObject# *serviceObjectcxx . . $ SignOnUi/IndicatorService#serviceObject(2dbb680a34285c44).() const; |
| 51 | |
| 52 | void ClearErrorStatuscxx . . $ SignOnUi/IndicatorService#ClearErrorStatus(49f6e7a06ebc5aa8).(); |
| 53 | bool ReauthenticateAccountcxx . . $ SignOnUi/IndicatorService#ReauthenticateAccount(82a5854b56d36e97).(uintcxx . . $ uint# accountId, |
| 54 | const QVariantMapcxx . . $ QVariantMap# &extraParameters); |
| 55 | void RemoveFailurescxx . . $ SignOnUi/IndicatorService#RemoveFailures(370b4fd2c6af790f).(const QSetcxx . . $ QSet#<uintcxx . . $ uint#> &accountIds); |
| 56 | void ReportFailurecxx . . $ SignOnUi/IndicatorService#ReportFailure(a674b9a78b7822c6).(uintcxx . . $ uint# accountId, const QVariantMapcxx . . $ QVariantMap# ¬ification); |
| 57 | |
| 58 | QSetcxx . . $ QSet#<uintcxx . . $ uint#> failurescxx . . $ SignOnUi/IndicatorService#failures(9e471859e48ca5a5).() const; |
| 59 | bool errorStatuscxx . . $ SignOnUi/IndicatorService#errorStatus(50ce9a9e25b4a850).() const; |
| 60 | bool isIdlecxx . . $ SignOnUi/IndicatorService#isIdle(50ce9a9e25b4a850).() const; |
| 61 | |
| 62 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 63 | void isIdleChangedcxx . . $ SignOnUi/IndicatorService#isIdleChanged(49f6e7a06ebc5aa8).(); |
| 64 | |
| 65 | private: |
| 66 | IndicatorServicePrivatecxx . . $ SignOnUi/IndicatorServicePrivate# *d_ptrcxx . . $ SignOnUi/IndicatorService#d_ptr.; |
| 67 | Q_DECLARE_PRIVATEcxx . . $ SignOnUi/IndicatorService#d_ptr.(IndicatorService) |
| 68 | }; |
| 69 | |
| 70 | } // namespace |
| 71 | |
| 72 | Q_DECLARE_METATYPEcxx . . $ QBasicAtomicInteger#QBasicAtomicInteger(93d577a3e9528307).(QSet<uint>) |
| 73 | |
| 74 | #endif // SIGNON_UI_INDICATOR_SERVICE_H |