| 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_AUTHENTICATION_REQUEST_H |
| 22 | #define ONLINE_ACCOUNTS_DAEMON_AUTHENTICATION_REQUEST_Hcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/authentication_request.h:22:9`! |
| 23 | |
| 24 | #include <QObject> |
| 25 | #include <QString> |
| 26 | #include <QVariantMap> |
| 27 | #include "async_operation.h"cxx . . $ `<file>/online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/async_operation.h`/ |
| 28 | |
| 29 | namespace Accountscxx . . $ Accounts/ { |
| 30 | class AuthDatacxx . . $ Accounts/AuthData#; |
| 31 | } |
| 32 | |
| 33 | namespace OnlineAccountsDaemoncxx . . $ OnlineAccountsDaemon/ { |
| 34 | |
| 35 | class AuthenticationRequestPrivatecxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate#; |
| 36 | class AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#: public AsyncOperationcxx . . $ OnlineAccountsDaemon/AsyncOperation# |
| 37 | { |
| 38 | Q_OBJECTcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#trUtf8(75d9f1c324b4579d). |
| 39 | |
| 40 | public: |
| 41 | explicit AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#AuthenticationRequest(fd99699e6e8f0995).(const CallContextcxx . . $ OnlineAccountsDaemon/CallContext# &context, |
| 42 | QObjectcxx . . $ QObject# *parent = 0); |
| 43 | ~cxx . . $ OnlineAccountsDaemon/AuthenticationRequest#`~AuthenticationRequest`(ced63f7c635d850d).AuthenticationRequestcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#(); |
| 44 | |
| 45 | void setInteractivecxx . . $ OnlineAccountsDaemon/AuthenticationRequest#setInteractive(b45ddcbc8423892c).(bool interactive); |
| 46 | void invalidateCachecxx . . $ OnlineAccountsDaemon/AuthenticationRequest#invalidateCache(49f6e7a06ebc5aa8).(); |
| 47 | |
| 48 | void authenticatecxx . . $ OnlineAccountsDaemon/AuthenticationRequest#authenticate(65dd63f57efcf987).(const Accountscxx . . $ Accounts/::AuthDatacxx . . $ Accounts/AuthData# &authData, |
| 49 | const QVariantMapcxx . . $ QVariantMap# ¶meters); |
| 50 | |
| 51 | private: |
| 52 | Q_DECLARE_PRIVATEcxx . . $ `<external>/15045578679651060896/qglobal.h:1158:9`!(AuthenticationRequest) |
| 53 | AuthenticationRequestPrivatecxx . . $ OnlineAccountsDaemon/AuthenticationRequestPrivate# *d_ptrcxx . . $ OnlineAccountsDaemon/AuthenticationRequest#d_ptr.; |
| 54 | }; |
| 55 | |
| 56 | } // namespace |
| 57 | |
| 58 | #endif // ONLINE_ACCOUNTS_DAEMON_AUTHENTICATION_REQUEST_H |