| 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_ACCESS_REQUEST_H |
| 22 | #define ONLINE_ACCOUNTS_DAEMON_ACCESS_REQUEST_Hcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/access_request.h:22:9`! |
| 23 | |
| 24 | #include <QObject> |
| 25 | #include <QString> |
| 26 | #include <QVariantMap> |
| 27 | #include <sys/types.h> |
| 28 | #include "async_operation.h"cxx . . $ `<file>/online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/async_operation.h`/ |
| 29 | |
| 30 | namespace Accountscxx . . $ Accounts/ { |
| 31 | class AuthDatacxx . . $ Accounts/AuthData#; |
| 32 | } |
| 33 | |
| 34 | namespace OnlineAccountsDaemoncxx . . $ OnlineAccountsDaemon/ { |
| 35 | |
| 36 | class AccountInfocxx . . $ OnlineAccountsDaemon/AccountInfo#; |
| 37 | |
| 38 | class AccessRequestPrivatecxx . . $ OnlineAccountsDaemon/AccessRequestPrivate#; |
| 39 | class AccessRequestcxx . . $ OnlineAccountsDaemon/AccessRequest#: public AsyncOperationcxx . . $ OnlineAccountsDaemon/AsyncOperation# |
| 40 | { |
| 41 | Q_OBJECTcxx . . $ OnlineAccountsDaemon/AccessRequest#QPrivateSignal# |
| 42 | |
| 43 | public: |
| 44 | explicit AccessRequestcxx . . $ OnlineAccountsDaemon/AccessRequest#AccessRequest(fd99699e6e8f0995).(const CallContextcxx . . $ OnlineAccountsDaemon/CallContext# &context, |
| 45 | QObjectcxx . . $ QObject# *parent = 0); |
| 46 | ~cxx . . $ OnlineAccountsDaemon/AccessRequest#`~AccessRequest`(ced63f7c635d850d).AccessRequestcxx . . $ OnlineAccountsDaemon/AccessRequest#(); |
| 47 | |
| 48 | void requestAccesscxx . . $ OnlineAccountsDaemon/AccessRequest#requestAccess(975eff540a211c77).(const QStringcxx . . $ QString# &applicationId, |
| 49 | const QStringcxx . . $ QString# &serviceId, |
| 50 | const QVariantMapcxx . . $ QVariantMap# ¶meters, |
| 51 | pid_tcxx . . $ pid_t# clientPid); |
| 52 | |
| 53 | void setAccountInfocxx . . $ OnlineAccountsDaemon/AccessRequest#setAccountInfo(8ad97fe17c736290).(const AccountInfocxx . . $ OnlineAccountsDaemon/AccountInfo# &accountInfo, |
| 54 | const Accountscxx . . $ Accounts/::AuthDatacxx . . $ Accounts/AuthData# &authData); |
| 55 | |
| 56 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 57 | void loadRequestcxx . . $ OnlineAccountsDaemon/AccessRequest#loadRequest(5d434d7a62a8e37).(uintcxx . . $ uint# accountId, const QStringcxx . . $ QString# &serviceId); |
| 58 | |
| 59 | private: |
| 60 | Q_DECLARE_PRIVATEcxx . . $ `<external>/15045578679651060896/qglobal.h:1158:9`!(AccessRequest) |
| 61 | AccessRequestPrivatecxx . . $ OnlineAccountsDaemon/AccessRequestPrivate# *d_ptrcxx . . $ OnlineAccountsDaemon/AccessRequest#d_ptr.; |
| 62 | }; |
| 63 | |
| 64 | } // namespace |
| 65 | |
| 66 | #endif // ONLINE_ACCOUNTS_DAEMON_ACCESS_REQUEST_H |