| 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_AUTHENTICATOR_H |
| 22 | #define ONLINE_ACCOUNTS_DAEMON_AUTHENTICATOR_Hcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/authenticator.h:22:9`! |
| 23 | |
| 24 | #include <QObject> |
| 25 | #include <QString> |
| 26 | #include <QVariantMap> |
| 27 | |
| 28 | namespace Accountscxx . . $ Accounts/ { |
| 29 | class AuthDatacxx . . $ Accounts/AuthData#; |
| 30 | } |
| 31 | |
| 32 | namespace OnlineAccountsDaemoncxx . . $ OnlineAccountsDaemon/ { |
| 33 | |
| 34 | class AuthenticatorPrivatecxx . . $ OnlineAccountsDaemon/AuthenticatorPrivate#; |
| 35 | class Authenticatorcxx . . $ OnlineAccountsDaemon/Authenticator#: public QObjectcxx . . $ QObject# |
| 36 | { |
| 37 | Q_OBJECTcxx . . $ OnlineAccountsDaemon/Authenticator#staticMetaObject. |
| 38 | |
| 39 | public: |
| 40 | explicit Authenticatorcxx . . $ OnlineAccountsDaemon/Authenticator#Authenticator(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 41 | ~cxx . . $ OnlineAccountsDaemon/Authenticator#`~Authenticator`(ced63f7c635d850d).Authenticatorcxx . . $ OnlineAccountsDaemon/Authenticator#(); |
| 42 | |
| 43 | void setInteractivecxx . . $ OnlineAccountsDaemon/Authenticator#setInteractive(b45ddcbc8423892c).(bool interactive); |
| 44 | void invalidateCachecxx . . $ OnlineAccountsDaemon/Authenticator#invalidateCache(49f6e7a06ebc5aa8).(); |
| 45 | |
| 46 | void authenticatecxx . . $ OnlineAccountsDaemon/Authenticator#authenticate(65dd63f57efcf987).(const Accountscxx . . $ Accounts/::AuthDatacxx . . $ Accounts/AuthData# &authData, |
| 47 | const QVariantMapcxx . . $ QVariantMap# ¶meters); |
| 48 | |
| 49 | bool isErrorcxx . . $ OnlineAccountsDaemon/Authenticator#isError(50ce9a9e25b4a850).() const { return !errorNamecxx . . $ OnlineAccountsDaemon/Authenticator#errorName(6ef7b6c27b00b43d).().isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).(); } |
| 50 | QVariantMapcxx . . $ QVariantMap# replycxx . . $ OnlineAccountsDaemon/Authenticator#reply(87f780dbe64191c4).() const; |
| 51 | QStringcxx . . $ QString# errorNamecxx . . $ OnlineAccountsDaemon/Authenticator#errorName(6ef7b6c27b00b43d).() const; |
| 52 | QStringcxx . . $ QString# errorMessagecxx . . $ OnlineAccountsDaemon/Authenticator#errorMessage(6ef7b6c27b00b43d).() const; |
| 53 | |
| 54 | static int authMethodcxx . . $ OnlineAccountsDaemon/Authenticator#authMethod(18aad95192f435d6).(const Accountscxx . . $ Accounts/::AuthDatacxx . . $ Accounts/AuthData# &authData); |
| 55 | |
| 56 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 57 | void finishedcxx . . $ OnlineAccountsDaemon/Authenticator#finished(49f6e7a06ebc5aa8).(); |
| 58 | |
| 59 | private: |
| 60 | Q_DECLARE_PRIVATEcxx . . $ OnlineAccountsDaemon/Authenticator#d_ptr.(Authenticator) |
| 61 | AuthenticatorPrivatecxx . . $ OnlineAccountsDaemon/AuthenticatorPrivate# *d_ptrcxx . . $ OnlineAccountsDaemon/Authenticator#d_ptr.; |
| 62 | }; |
| 63 | |
| 64 | } // namespace |
| 65 | |
| 66 | #endif // ONLINE_ACCOUNTS_DAEMON_AUTHENTICATOR_H |