| 1 | /* |
| 2 | * This file is part of libOnlineAccounts |
| 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_PENDING_CALL_P_H |
| 22 | #define ONLINE_ACCOUNTS_PENDING_CALL_P_Hcxx . . $ `online-accounts/lib/qt/LomiriOnlineAccounts/pending_call_p.h:22:9`! |
| 23 | |
| 24 | #include "pending_call.h"cxx . . $ `<file>/online-accounts/lib/qt/LomiriOnlineAccounts/pending_call.h`/ |
| 25 | |
| 26 | #include <QDBusPendingCall> |
| 27 | #include <QSharedData> |
| 28 | |
| 29 | namespace OnlineAccountscxx . . $ OnlineAccounts/ { |
| 30 | |
| 31 | class Managercxx . . $ OnlineAccounts/Manager#; |
| 32 | |
| 33 | class PendingCallPrivatecxx . . $ OnlineAccounts/PendingCallPrivate#: public QSharedDatacxx . . $ QSharedData# |
| 34 | { |
| 35 | public: |
| 36 | enum InvokedMethodcxx . . $ OnlineAccounts/PendingCallPrivate#InvokedMethod# { |
| 37 | Authenticatecxx . . $ OnlineAccounts/PendingCallPrivate#Authenticate., |
| 38 | RequestAccesscxx . . $ OnlineAccounts/PendingCallPrivate#RequestAccess., |
| 39 | }; |
| 40 | |
| 41 | PendingCallPrivatecxx . . $ OnlineAccounts/PendingCallPrivate#PendingCallPrivate(f8cc7008d0ea7beb).(Managercxx . . $ OnlineAccounts/Manager# *manager, |
| 42 | const QDBusPendingCallcxx . . $ QDBusPendingCall# &call, |
| 43 | InvokedMethodcxx . . $ OnlineAccounts/PendingCallPrivate#InvokedMethod# method, |
| 44 | AuthenticationMethodcxx . . $ OnlineAccounts/AuthenticationMethod# authMethod); |
| 45 | ~cxx . . $ OnlineAccounts/PendingCallPrivate#`~PendingCallPrivate`(ced63f7c635d850d).PendingCallPrivatecxx . . $ OnlineAccounts/PendingCallPrivate#() {}; |
| 46 | |
| 47 | Managercxx . . $ OnlineAccounts/Manager# *managercxx . . $ OnlineAccounts/PendingCallPrivate#manager(ef04733e7f789dc1).() const { return m_managercxx . . $ OnlineAccounts/PendingCallPrivate#m_manager.; } |
| 48 | QDBusPendingCallcxx . . $ QDBusPendingCall# dbusCallcxx . . $ OnlineAccounts/PendingCallPrivate#dbusCall(431f9381b17f3acb).() const { return m_callcxx . . $ QDBusPendingCall#QDBusPendingCall(8091e1e063dfdcb5).; } |
| 49 | InvokedMethodcxx . . $ OnlineAccounts/PendingCallPrivate#InvokedMethod# invokedMethodcxx . . $ OnlineAccounts/PendingCallPrivate#invokedMethod(a18a7d14e28e6b77).() const { return m_invokedMethodcxx . . $ OnlineAccounts/PendingCallPrivate#m_invokedMethod.; } |
| 50 | |
| 51 | AuthenticationMethodcxx . . $ OnlineAccounts/AuthenticationMethod# authenticationMethodcxx . . $ OnlineAccounts/PendingCallPrivate#authenticationMethod(5844b1512d846331).() const { |
| 52 | return m_authenticationMethodcxx . . $ OnlineAccounts/PendingCallPrivate#m_authenticationMethod.; |
| 53 | } |
| 54 | |
| 55 | private: |
| 56 | friend class PendingCallcxx . . $ OnlineAccounts/PendingCall#; |
| 57 | Managercxx . . $ OnlineAccounts/Manager# *m_managercxx . . $ OnlineAccounts/PendingCallPrivate#m_manager.; |
| 58 | QDBusPendingCallcxx . . $ QDBusPendingCall# m_callcxx . . $ OnlineAccounts/PendingCallPrivate#m_call.; |
| 59 | InvokedMethodcxx . . $ OnlineAccounts/PendingCallPrivate#InvokedMethod# m_invokedMethodcxx . . $ OnlineAccounts/PendingCallPrivate#m_invokedMethod.; |
| 60 | AuthenticationMethodcxx . . $ OnlineAccounts/AuthenticationMethod# m_authenticationMethodcxx . . $ OnlineAccounts/PendingCallPrivate#m_authenticationMethod.; |
| 61 | }; |
| 62 | |
| 63 | } // namespace |
| 64 | |
| 65 | #endif // ONLINE_ACCOUNTS_PENDING_CALL_P_H |