Debian Codegraph @

tests/online-accounts-ui/mock/application-manager-mock.h

raw symbols SCIP
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_APPLICATION_MANAGER_H
22 #define MOCK_APPLICATION_MANAGER_Hcxx . . $ `tests/online-accounts-ui/mock/application-manager-mock.h:22:9`!
23
24 #include <LomiriOnlineAccountsPlugin/application-manager.h>cxx . . $ `<file>/online-accounts-plugins/lib/LomiriOnlineAccountsPlugin/application-manager.h`/
25
26 #include <QHash>
27 #include <QObject>
28
29 namespace OnlineAccountsUicxx . . $ OnlineAccountsUi/ {
30
31 class ApplicationManagerPrivatecxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#: public QObjectcxx . . $ QObject#
32 {
33 Q_OBJECTcxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#tr(75d9f1c324b4579d).
34 Q_DECLARE_PUBLICcxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#q_ptr.(ApplicationManager)
35
36 public:
37 ApplicationManagerPrivatecxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#ApplicationManagerPrivate(d9a895214d23c08e).(ApplicationManagercxx . . $ OnlineAccountsUi/ApplicationManager# *q);
38 ~cxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#`~ApplicationManagerPrivate`(ced63f7c635d850d).ApplicationManagerPrivatecxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#();
39 static ApplicationManagerPrivatecxx . . $ OnlineAccountsUi/ApplicationManagerPrivate# *mockedcxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#mocked(3d28fd72a64f59bc).(ApplicationManagercxx . . $ OnlineAccountsUi/ApplicationManager# *r) { return r->d_ptrcxx . . $ OnlineAccountsUi/ApplicationManager#d_ptr.; }
40
41 void setApplicationInfocxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#setApplicationInfo(dac83e64e8e6a438).(const QStringcxx . . $ QString# &applicationId,
42 const QVariantMapcxx . . $ QVariantMap# &info) {
43 m_applicationInfocxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#m_applicationInfo.[cxx . . $ QHash#`operator[]`(bbd415b616967878).applicationId] =cxx . . $ QMap#`operator=`(9a30e17cbbb0999d). info;
44 }
45
46 void setProviderInfocxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#setProviderInfo(dac83e64e8e6a438).(const QStringcxx . . $ QString# &providerId, const QVariantMapcxx . . $ QVariantMap# &info) {
47 m_providerInfocxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#m_providerInfo.[cxx . . $ QHash#`operator[]`(bbd415b616967878).providerId] =cxx . . $ QMap#`operator=`(9a30e17cbbb0999d). info;
48 }
49
50 Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!:
51 void applicationInfoCalledcxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#applicationInfoCalled(3458fe3960d5051).(QStringcxx . . $ QString# applicationId, QStringcxx . . $ QString# profile);
52
53 public:
54 QHashcxx . . $ QHash#<QStringcxx . . $ QString#,QVariantMapcxx . . $ QVariantMap#> m_applicationInfocxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#m_applicationInfo.;
55 QHashcxx . . $ QHash#<QStringcxx . . $ QString#,QVariantMapcxx . . $ QVariantMap#> m_providerInfocxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#m_providerInfo.;
56 mutable ApplicationManagercxx . . $ OnlineAccountsUi/ApplicationManager# *q_ptrcxx . . $ OnlineAccountsUi/ApplicationManagerPrivate#q_ptr.;
57 };
58
59 } // namespace
60
61 #endif // MOCK_APPLICATION_MANAGER_H