| 1 | /* |
| 2 | * This file is part of lomiri-online-accounts-service |
| 3 | * |
| 4 | * Copyright (C) 2011 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_SERVICE_H |
| 22 | #define SIGNON_UI_SERVICE_Hcxx . . $ `online-accounts-service/src/signonui-service.h:22:9`! |
| 23 | |
| 24 | #include <QDBusContext> |
| 25 | #include <QObject> |
| 26 | #include <QVariantMap> |
| 27 | |
| 28 | class QByteArraycxx . . $ QByteArray#; |
| 29 | |
| 30 | namespace SignOnUicxx . . $ SignOnUi/ { |
| 31 | |
| 32 | typedef QListcxx . . $ QList#<QByteArraycxx . . $ QByteArray#> RawCookiescxx . . $ SignOnUi/RawCookies#; |
| 33 | |
| 34 | class ServicePrivatecxx . . $ SignOnUi/ServicePrivate#; |
| 35 | |
| 36 | class Servicecxx . . $ SignOnUi/Service#: public QObjectcxx . . $ QObject#, protected QDBusContextcxx . . $ QDBusContext# |
| 37 | { |
| 38 | Q_OBJECTcxx . . $ SignOnUi/Service#trUtf8(75d9f1c324b4579d). |
| 39 | Q_CLASSINFOcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:100:10`!("D-Bus Interface", "com.nokia.singlesignonui") |
| 40 | |
| 41 | public: |
| 42 | explicit Servicecxx . . $ SignOnUi/Service#Service(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 43 | ~cxx . . $ SignOnUi/Service#`~Service`(ced63f7c635d850d).Servicecxx . . $ SignOnUi/Service#(); |
| 44 | |
| 45 | public Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 46 | QVariantMapcxx . . $ QVariantMap# queryDialogcxx . . $ SignOnUi/Service#queryDialog(52377bf93f9fc760).(const QVariantMapcxx . . $ QVariantMap# ¶meters); |
| 47 | QVariantMapcxx . . $ QVariantMap# refreshDialogcxx . . $ SignOnUi/Service#refreshDialog(52377bf93f9fc760).(const QVariantMapcxx . . $ QVariantMap# &newParameters); |
| 48 | Q_NOREPLYcxx . . $ `<external>/10714933572003049271/qtdbusglobal.h:48:10`! void cancelUiRequestcxx . . $ SignOnUi/Service#cancelUiRequest(3520e46b33348bf6).(const QStringcxx . . $ QString# &requestId); |
| 49 | void removeIdentityDatacxx . . $ SignOnUi/Service#removeIdentityData(cb2f890c2fdad230).(quint32cxx . . $ quint32# id); |
| 50 | |
| 51 | /* |
| 52 | * This is not officially part of the interface; it's an Ubuntu-specific |
| 53 | * experimental method, and we reserve the right to remove or change it in |
| 54 | * future releases. |
| 55 | */ |
| 56 | void cookiesForIdentitycxx . . $ SignOnUi/Service#cookiesForIdentity(ab4be87f7ac152dd).(quint32cxx . . $ quint32# id, |
| 57 | // Output parameters |
| 58 | RawCookiescxx . . $ SignOnUi/RawCookies# &cookies, qint64cxx . . $ qint64# ×tamp); |
| 59 | |
| 60 | private: |
| 61 | ServicePrivatecxx . . $ SignOnUi/ServicePrivate# *d_ptrcxx . . $ SignOnUi/Service#d_ptr.; |
| 62 | Q_DECLARE_PRIVATEcxx . . $ qGetPtrHelper(98ea26de6545f0ca).(Service) |
| 63 | }; |
| 64 | |
| 65 | } // namespace |
| 66 | |
| 67 | Q_DECLARE_METATYPEcxx . . $ QBasicAtomicInteger#loadAcquire(9246f0133b7f8112).(SignOnUi::RawCookies) |
| 68 | |
| 69 | #endif // SIGNON_UI_SERVICE_H |
| 70 |