| 1 | /* |
| 2 | * Copyright (C) 2014 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 MOCK_REQUEST_H |
| 22 | #define MOCK_REQUEST_Hcxx . . $ `tests/online-accounts-service/tst_ui_proxy/request-mock.h:22:9`! |
| 23 | |
| 24 | #include "request.h"cxx . . $ `<file>/online-accounts-service/src/request.h`/ |
| 25 | |
| 26 | #include <QObject> |
| 27 | #include <QString> |
| 28 | #include <QVariantMap> |
| 29 | |
| 30 | namespace OnlineAccountsUicxx . . $ OnlineAccountsUi/ { |
| 31 | |
| 32 | class RequestPrivatecxx . . $ OnlineAccountsUi/RequestPrivate#: public QObjectcxx . . $ QObject# |
| 33 | { |
| 34 | Q_OBJECTcxx . . $ QMetaObject#Call# |
| 35 | Q_DECLARE_PUBLICcxx . . $ OnlineAccountsUi/RequestPrivate#q_ptr.(Request) |
| 36 | |
| 37 | public: |
| 38 | RequestPrivatecxx . . $ OnlineAccountsUi/RequestPrivate#RequestPrivate(69032cf2774fb009).(const QDBusConnectioncxx . . $ QDBusConnection# &connection, |
| 39 | const QDBusMessagecxx . . $ QDBusMessage# &message, |
| 40 | const QVariantMapcxx . . $ QVariantMap# ¶meters, |
| 41 | Requestcxx . . $ OnlineAccountsUi/Request# *request); |
| 42 | ~cxx . . $ OnlineAccountsUi/RequestPrivate#`~RequestPrivate`(ced63f7c635d850d).RequestPrivatecxx . . $ OnlineAccountsUi/RequestPrivate#(); |
| 43 | static RequestPrivatecxx . . $ OnlineAccountsUi/RequestPrivate# *mockedcxx . . $ OnlineAccountsUi/RequestPrivate#mocked(6ea5f55120ff487).(Requestcxx . . $ OnlineAccountsUi/Request# *r) { return r->d_ptrcxx . . $ OnlineAccountsUi/Request#d_ptr.; } |
| 44 | |
| 45 | void setClientApparmorProfilecxx . . $ OnlineAccountsUi/RequestPrivate#setClientApparmorProfile(3520e46b33348bf6).(const QStringcxx . . $ QString# &profile); |
| 46 | void setProviderIdcxx . . $ OnlineAccountsUi/RequestPrivate#setProviderId(3520e46b33348bf6).(const QStringcxx . . $ QString# &provider); |
| 47 | |
| 48 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 49 | void cancelCalledcxx . . $ OnlineAccountsUi/RequestPrivate#cancelCalled(49f6e7a06ebc5aa8).(); |
| 50 | void failCalledcxx . . $ OnlineAccountsUi/RequestPrivate#failCalled(3458fe3960d5051).(QStringcxx . . $ QString# name, QStringcxx . . $ QString# message); |
| 51 | void setResultCalledcxx . . $ OnlineAccountsUi/RequestPrivate#setResultCalled(74e937dbdebc0ff5).(QVariantMapcxx . . $ QVariantMap# result); |
| 52 | |
| 53 | private: |
| 54 | QDBusConnectioncxx . . $ QDBusConnection# m_connectioncxx . . $ OnlineAccountsUi/RequestPrivate#m_connection.; |
| 55 | QDBusMessagecxx . . $ QDBusMessage# m_messagecxx . . $ OnlineAccountsUi/RequestPrivate#m_message.; |
| 56 | QVariantMapcxx . . $ QVariantMap# m_parameterscxx . . $ OnlineAccountsUi/RequestPrivate#m_parameters.; |
| 57 | QStringcxx . . $ QString# m_clientApparmorProfilecxx . . $ OnlineAccountsUi/RequestPrivate#m_clientApparmorProfile.; |
| 58 | QStringcxx . . $ QString# m_providerIdcxx . . $ OnlineAccountsUi/RequestPrivate#m_providerId.; |
| 59 | bool m_inProgresscxx . . $ OnlineAccountsUi/RequestPrivate#m_inProgress.; |
| 60 | int m_delaycxx . . $ OnlineAccountsUi/RequestPrivate#m_delay.; |
| 61 | mutable Requestcxx . . $ OnlineAccountsUi/Request# *q_ptrcxx . . $ OnlineAccountsUi/RequestPrivate#q_ptr.; |
| 62 | }; |
| 63 | |
| 64 | } // namespace |
| 65 | |
| 66 | #endif // MOCK_REQUEST_H |