| 1 | /* |
| 2 | * Copyright (C) 2014 Canonical Ltd. |
| 3 | * |
| 4 | * Contact: Alberto Mardegan <[email protected]> |
| 5 | * |
| 6 | * This file is part of lomiri-online-accounts-ui |
| 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_UI_SERVER_H |
| 22 | #define MOCK_UI_SERVER_Hcxx . . $ `tests/online-accounts-ui/mock/ui-server-mock.h:22:9`! |
| 23 | |
| 24 | #include "ui-server.h"cxx . . $ `<file>/online-accounts-ui/src/ui-server.h`/ |
| 25 | |
| 26 | #include <QObject> |
| 27 | #include <QString> |
| 28 | |
| 29 | namespace OnlineAccountsUicxx . . $ OnlineAccountsUi/ { |
| 30 | |
| 31 | class UiServerPrivatecxx . . $ OnlineAccountsUi/UiServerPrivate#: public QObjectcxx . . $ QObject# |
| 32 | { |
| 33 | Q_OBJECTcxx . . $ OnlineAccountsUi/UiServerPrivate#trUtf8(75d9f1c324b4579d). |
| 34 | Q_DECLARE_PUBLICcxx . . $ OnlineAccountsUi/UiServerPrivate#q_ptr.(UiServer) |
| 35 | |
| 36 | public: |
| 37 | UiServerPrivatecxx . . $ OnlineAccountsUi/UiServerPrivate#UiServerPrivate(5c4413f32a6590ed).(const QStringcxx . . $ QString# &address, UiServercxx . . $ OnlineAccountsUi/UiServer# *pluginServer); |
| 38 | ~cxx . . $ OnlineAccountsUi/UiServerPrivate#`~UiServerPrivate`(ced63f7c635d850d).UiServerPrivatecxx . . $ OnlineAccountsUi/UiServerPrivate#(); |
| 39 | static UiServerPrivatecxx . . $ OnlineAccountsUi/UiServerPrivate# *mockedcxx . . $ OnlineAccountsUi/UiServerPrivate#mocked(bc2ed0646ce7e5e3).(UiServercxx . . $ OnlineAccountsUi/UiServer# *r) { return r->d_ptrcxx . . $ OnlineAccountsUi/UiServer#d_ptr.; } |
| 40 | |
| 41 | void emitFinishedcxx . . $ OnlineAccountsUi/UiServerPrivate#emitFinished(49f6e7a06ebc5aa8).() { Q_EMITcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:95:10`! q_ptrcxx . . $ OnlineAccountsUi/UiServerPrivate#q_ptr.->finishedcxx . . $ OnlineAccountsUi/UiServer#finished(49f6e7a06ebc5aa8).(); } |
| 42 | |
| 43 | public: |
| 44 | mutable UiServercxx . . $ OnlineAccountsUi/UiServer# *q_ptrcxx . . $ OnlineAccountsUi/UiServerPrivate#q_ptr.; |
| 45 | QStringcxx . . $ QString# m_addresscxx . . $ OnlineAccountsUi/UiServerPrivate#m_address.; |
| 46 | }; |
| 47 | |
| 48 | } // namespace |
| 49 | |
| 50 | #endif // MOCK_UI_SERVER_H |