| 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_ASYNC_OPERATION_H |
| 22 | #define ONLINE_ACCOUNTS_DAEMON_ASYNC_OPERATION_Hcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/async_operation.h:22:9`! |
| 23 | |
| 24 | #include <QObject> |
| 25 | #include <QList> |
| 26 | #include <QString> |
| 27 | #include <QVariant> |
| 28 | |
| 29 | namespace OnlineAccountsDaemoncxx . . $ OnlineAccountsDaemon/ { |
| 30 | |
| 31 | class CallContextcxx . . $ OnlineAccountsDaemon/CallContext#; |
| 32 | |
| 33 | class AsyncOperationPrivatecxx . . $ OnlineAccountsDaemon/AsyncOperationPrivate#; |
| 34 | class AsyncOperationcxx . . $ OnlineAccountsDaemon/AsyncOperation#: public QObjectcxx . . $ QObject# |
| 35 | { |
| 36 | Q_OBJECTcxx . . $ OnlineAccountsDaemon/AsyncOperation#QPrivateSignal# |
| 37 | |
| 38 | public: |
| 39 | explicit AsyncOperationcxx . . $ OnlineAccountsDaemon/AsyncOperation#AsyncOperation(fd99699e6e8f0995).(const CallContextcxx . . $ OnlineAccountsDaemon/CallContext# &context, |
| 40 | QObjectcxx . . $ QObject# *parent = 0); |
| 41 | ~cxx . . $ OnlineAccountsDaemon/AsyncOperation#`~AsyncOperation`(ced63f7c635d850d).AsyncOperationcxx . . $ OnlineAccountsDaemon/AsyncOperation#(); |
| 42 | |
| 43 | const CallContextcxx . . $ OnlineAccountsDaemon/CallContext# &contextcxx . . $ OnlineAccountsDaemon/AsyncOperation#context(9e3b8001b425112b).() const; |
| 44 | |
| 45 | protected: |
| 46 | void setReplycxx . . $ OnlineAccountsDaemon/AsyncOperation#setReply(2f4009bfc0c7e161).(const QListcxx . . $ QList#<QVariantcxx . . $ QVariant#> &reply); |
| 47 | void setErrorcxx . . $ OnlineAccountsDaemon/AsyncOperation#setError(c1427772cd1877b0).(const QStringcxx . . $ QString# &name, const QStringcxx . . $ QString# &message); |
| 48 | |
| 49 | private: |
| 50 | Q_DECLARE_PRIVATEcxx . . $ OnlineAccountsDaemon/AsyncOperation#d_func(a28f6ef30f73cbb6).(AsyncOperation) |
| 51 | AsyncOperationPrivatecxx . . $ OnlineAccountsDaemon/AsyncOperationPrivate# *d_ptrcxx . . $ OnlineAccountsDaemon/AsyncOperation#d_ptr.; |
| 52 | }; |
| 53 | |
| 54 | } // namespace |
| 55 | |
| 56 | #endif // ONLINE_ACCOUNTS_DAEMON_ASYNC_OPERATION_H |