| 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_H |
| 22 | #define ONLINE_ACCOUNTS_PENDING_CALL_Hcxx . . $ `online-accounts/lib/qt/LomiriOnlineAccounts/pending_call.h:22:9`! |
| 23 | |
| 24 | #include <QExplicitlySharedDataPointer> |
| 25 | #include <QObject> |
| 26 | #include <QScopedPointer> |
| 27 | |
| 28 | #include "global.h"cxx . . $ `<file>/online-accounts/lib/qt/LomiriOnlineAccounts/global.h`/ |
| 29 | |
| 30 | namespace OnlineAccountscxx . . $ OnlineAccounts/ { |
| 31 | |
| 32 | class AuthenticationReplyPrivatecxx . . $ OnlineAccounts/AuthenticationReplyPrivate#; |
| 33 | class ManagerPrivatecxx . . $ OnlineAccounts/ManagerPrivate#; |
| 34 | |
| 35 | class PendingCallPrivatecxx . . $ OnlineAccounts/PendingCallPrivate#; |
| 36 | class ONLINE_ACCOUNTS_EXPORTcxx . . $ `online-accounts/lib/qt/LomiriOnlineAccounts/global.h:27:11`! PendingCallcxx . . $ OnlineAccounts/PendingCall# |
| 37 | { |
| 38 | public: |
| 39 | PendingCallcxx . . $ OnlineAccounts/PendingCall#PendingCall(8feb05cfa3fd417d).(const PendingCallcxx . . $ OnlineAccounts/PendingCall# &other); |
| 40 | ~cxx . . $ OnlineAccounts/PendingCall#`~PendingCall`(ced63f7c635d850d).PendingCallcxx . . $ OnlineAccounts/PendingCall#(); |
| 41 | PendingCallcxx . . $ OnlineAccounts/PendingCall# &operatorcxx . . $ OnlineAccounts/PendingCall#`operator=`(c0b6a5cab0ff725a).=(const PendingCallcxx . . $ OnlineAccounts/PendingCall# &other); |
| 42 | |
| 43 | bool isFinishedcxx . . $ OnlineAccounts/PendingCall#isFinished(50ce9a9e25b4a850).() const; |
| 44 | void waitForFinishedcxx . . $ OnlineAccounts/PendingCall#waitForFinished(49f6e7a06ebc5aa8).(); |
| 45 | |
| 46 | protected: |
| 47 | friend class PendingCallPrivatecxx . . $ OnlineAccounts/PendingCallPrivate#; |
| 48 | friend class PendingCallWatchercxx . . $ OnlineAccounts/PendingCallWatcher#; |
| 49 | friend class AuthenticationReplyPrivatecxx . . $ OnlineAccounts/AuthenticationReplyPrivate#; |
| 50 | friend class RequestAccessReplyPrivatecxx . . $ OnlineAccounts/RequestAccessReplyPrivate#; |
| 51 | friend class ManagerPrivatecxx . . $ OnlineAccounts/ManagerPrivate#; |
| 52 | QExplicitlySharedDataPointercxx . . $ QExplicitlySharedDataPointer#<PendingCallPrivatecxx . . $ OnlineAccounts/PendingCallPrivate#> dcxx . . $ OnlineAccounts/PendingCall#d.; |
| 53 | |
| 54 | private: |
| 55 | PendingCallcxx . . $ OnlineAccounts/PendingCall#PendingCall(161063c57020f47e).(PendingCallPrivatecxx . . $ OnlineAccounts/PendingCallPrivate# *priv); |
| 56 | }; |
| 57 | |
| 58 | class PendingCallWatcherPrivatecxx . . $ OnlineAccounts/PendingCallWatcherPrivate#; |
| 59 | class ONLINE_ACCOUNTS_EXPORTcxx . . $ `online-accounts/lib/qt/LomiriOnlineAccounts/global.h:27:11`! PendingCallWatchercxx . . $ OnlineAccounts/PendingCallWatcher#: |
| 60 | public QObjectcxx . . $ QObject#, public PendingCallcxx . . $ OnlineAccounts/PendingCall# |
| 61 | { |
| 62 | Q_OBJECTcxx . . $ OnlineAccounts/PendingCallWatcher#trUtf8(75d9f1c324b4579d). |
| 63 | |
| 64 | public: |
| 65 | PendingCallWatchercxx . . $ OnlineAccounts/PendingCallWatcher#PendingCallWatcher(78e879668eb9f673).(const PendingCallcxx . . $ OnlineAccounts/PendingCall# &call, QObjectcxx . . $ QObject# *parent = 0); |
| 66 | ~cxx . . $ OnlineAccounts/PendingCallWatcher#`~PendingCallWatcher`(ced63f7c635d850d).PendingCallWatchercxx . . $ OnlineAccounts/PendingCallWatcher#(); |
| 67 | |
| 68 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 69 | void finishedcxx . . $ OnlineAccounts/PendingCallWatcher#finished(49f6e7a06ebc5aa8).(); |
| 70 | |
| 71 | private: |
| 72 | Q_DECLARE_PRIVATEcxx . . $ `<external>/15045578679651060896/qglobal.h:1158:9`!(PendingCallWatcher) |
| 73 | QScopedPointercxx . . $ QScopedPointer#<PendingCallWatcherPrivatecxx . . $ OnlineAccounts/PendingCallWatcherPrivate#> d_ptrcxx . . $ OnlineAccounts/PendingCallWatcher#d_ptr.; |
| 74 | }; |
| 75 | |
| 76 | } // namespace |
| 77 | |
| 78 | #endif // ONLINE_ACCOUNTS_PENDING_CALL_H |