Debian Codegraph @

tests/online-accounts-ui/mock/ui-server-mock.cpp

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 #include "ui-server-mock.h"cxx . . $ `<file>/tests/online-accounts-ui/mock/ui-server-mock.h`/
22
23 #include <QDebug>
24
25 using namespace OnlineAccountsUi;
26
27 static UiServercxx . . $ OnlineAccountsUi/UiServer# *m_instancecxx . . $ m_instance. = 0;
28
29 UiServerPrivatecxx . . $ OnlineAccountsUi/UiServerPrivate#::UiServerPrivatecxx . . $ OnlineAccountsUi/UiServerPrivate#UiServerPrivate(5c4413f32a6590ed).(const QStringcxx . . $ QString# &address,
30 UiServercxx . . $ OnlineAccountsUi/UiServer# *server):
31 QObjectcxx . . $ QObject#QObject(749de1b6ae65bddd).(server),
32 q_ptrcxx . . $ OnlineAccountsUi/UiServerPrivate#q_ptr.(server),
33 m_addresscxx . . $ OnlineAccountsUi/UiServerPrivate#m_address.(address)
34 {
35 }
36
37 UiServerPrivatecxx . . $ OnlineAccountsUi/UiServerPrivate#::~cxx . . $ OnlineAccountsUi/UiServerPrivate#`~UiServerPrivate`(ced63f7c635d850d).UiServerPrivatecxx . . $ OnlineAccountsUi/UiServerPrivate#()
38 {
39 }
40
41 UiServercxx . . $ OnlineAccountsUi/UiServer#::UiServercxx . . $ OnlineAccountsUi/UiServer#UiServer(6b24f83d17022bd9).(const QStringcxx . . $ QString# &address,
42 QObjectcxx . . $ QObject# *parent):
43 QObjectcxx . . $ QObject#QObject(749de1b6ae65bddd).(parent),
44 d_ptrcxx . . $ OnlineAccountsUi/UiServer#d_ptr.(new UiServerPrivatecxx . . $ OnlineAccountsUi/UiServerPrivate#UiServerPrivate(5c4413f32a6590ed).(address, this))
45 {
46 m_instancecxx . . $ m_instance. = this;
47 }
48
49 UiServercxx . . $ OnlineAccountsUi/UiServer#::~cxx . . $ OnlineAccountsUi/UiServer#`~UiServer`(ced63f7c635d850d).UiServercxx . . $ OnlineAccountsUi/UiServer#()
50 {
51 m_instancecxx . . $ m_instance. = 0;
52 }
53
54 UiServercxx . . $ OnlineAccountsUi/UiServer# *UiServercxx . . $ OnlineAccountsUi/UiServer#::instancecxx . . $ OnlineAccountsUi/UiServer#instance(11414a558912ab13).()
55 {
56 return m_instancecxx . . $ m_instance.;
57 }
58
59 bool UiServercxx . . $ OnlineAccountsUi/UiServer#::initcxx . . $ OnlineAccountsUi/UiServer#init(c9857a73d68e59ba).()
60 {
61 return true;
62 }