| 1 | /* |
| 2 | * Copyright (C) 2013 Canonical Ltd. |
| 3 | * |
| 4 | * Contact: Alberto Mardegan <[email protected]> |
| 5 | * |
| 6 | * This file is part of lomiri-online-accounts-service |
| 7 | * |
| 8 | * This program is free software: you can redistribute it and/or modify it |
| 9 | * under the terms of the GNU General Public License version 3, as published |
| 10 | * 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 General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License along |
| 18 | * with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #ifndef OAU_REQUEST_H |
| 22 | #define OAU_REQUEST_Hcxx . . $ `online-accounts-service/src/request.h:22:9`! |
| 23 | |
| 24 | #include <QDBusConnection> |
| 25 | #include <QDBusMessage> |
| 26 | #include <QObject> |
| 27 | #include <QVariantMap> |
| 28 | |
| 29 | namespace OnlineAccountsUicxx . . $ OnlineAccountsUi/ { |
| 30 | |
| 31 | class RequestPrivatecxx . . $ OnlineAccountsUi/RequestPrivate#; |
| 32 | class Requestcxx . . $ OnlineAccountsUi/Request#: public QObjectcxx . . $ QObject# |
| 33 | { |
| 34 | Q_OBJECTcxx . . $ OnlineAccountsUi/Request#QPrivateSignal# |
| 35 | |
| 36 | public: |
| 37 | explicit Requestcxx . . $ OnlineAccountsUi/Request#Request(99f2f35b89667ef6).(const QDBusConnectioncxx . . $ QDBusConnection# &connection, |
| 38 | const QDBusMessagecxx . . $ QDBusMessage# &message, |
| 39 | const QVariantMapcxx . . $ QVariantMap# ¶meters, |
| 40 | QObjectcxx . . $ QObject# *parent = 0); |
| 41 | ~cxx . . $ OnlineAccountsUi/Request#`~Request`(ced63f7c635d850d).Requestcxx . . $ OnlineAccountsUi/Request#(); |
| 42 | |
| 43 | static Requestcxx . . $ OnlineAccountsUi/Request# *findcxx . . $ OnlineAccountsUi/Request#find(330139dc3e783e0c).(const QVariantMapcxx . . $ QVariantMap# &match); |
| 44 | |
| 45 | quint64cxx . . $ quint64# windowIdcxx . . $ OnlineAccountsUi/Request#windowId(1c5fc1fd41a99ae7).() const; |
| 46 | pid_tcxx . . $ pid_t# clientPidcxx . . $ OnlineAccountsUi/Request#clientPid(455f465bc33b4cdf).() const; |
| 47 | void setInProgresscxx . . $ OnlineAccountsUi/Request#setInProgress(b45ddcbc8423892c).(bool inProgress); |
| 48 | bool isInProgresscxx . . $ OnlineAccountsUi/Request#isInProgress(50ce9a9e25b4a850).() const; |
| 49 | const QVariantMapcxx . . $ QVariantMap# ¶meterscxx . . $ OnlineAccountsUi/Request#parameters(9daa5a8a8d37773d).() const; |
| 50 | QStringcxx . . $ QString# clientApparmorProfilecxx . . $ OnlineAccountsUi/Request#clientApparmorProfile(6ef7b6c27b00b43d).() const; |
| 51 | QStringcxx . . $ QString# interfacecxx . . $ OnlineAccountsUi/Request#interface(6ef7b6c27b00b43d).() const; |
| 52 | QStringcxx . . $ QString# providerIdcxx . . $ OnlineAccountsUi/Request#providerId(6ef7b6c27b00b43d).() const; |
| 53 | |
| 54 | void setDelaycxx . . $ OnlineAccountsUi/Request#setDelay(d4f767463ce0a6b3).(int delay); |
| 55 | int delaycxx . . $ OnlineAccountsUi/Request#delay(455f465bc33b4cdf).() const; |
| 56 | |
| 57 | public Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 58 | void cancelcxx . . $ OnlineAccountsUi/Request#cancel(49f6e7a06ebc5aa8).(); |
| 59 | |
| 60 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 61 | void completedcxx . . $ OnlineAccountsUi/Request#completed(49f6e7a06ebc5aa8).(); |
| 62 | |
| 63 | public Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 64 | void failcxx . . $ OnlineAccountsUi/Request#fail(c1427772cd1877b0).(const QStringcxx . . $ QString# &name, const QStringcxx . . $ QString# &message); |
| 65 | void setCanceledcxx . . $ OnlineAccountsUi/Request#setCanceled(49f6e7a06ebc5aa8).(); |
| 66 | void setResultcxx . . $ OnlineAccountsUi/Request#setResult(3e95df3e31f2cce8).(const QVariantMapcxx . . $ QVariantMap# &result); |
| 67 | |
| 68 | private: |
| 69 | RequestPrivatecxx . . $ OnlineAccountsUi/RequestPrivate# *d_ptrcxx . . $ OnlineAccountsUi/Request#d_ptr.; |
| 70 | Q_DECLARE_PRIVATEcxx . . $ OnlineAccountsUi/Request#d_func(24c34a7c86e15d32).(Request) |
| 71 | }; |
| 72 | |
| 73 | } // namespace |
| 74 | |
| 75 | #endif // OAU_REQUEST_H |