Debian Codegraph @

online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/account_info.h

raw symbols SCIP
1 /*
2 * This file is part of OnlineAccountsDaemon
3 *
4 * Copyright (C) 2015 Canonical Ltd.
5 *
6 * Contact: Alberto Mardegan <[email protected]>
7 *
8 * This program is free software: you can redistribute it and/or modify it
9 * under the terms of the GNU Lesser General Public License version 3, as
10 * published 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 Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef ONLINE_ACCOUNTS_DAEMON_ACCOUNT_INFO_H
22 #define ONLINE_ACCOUNTS_DAEMON_ACCOUNT_INFO_Hcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/account_info.h:22:9`!
23
24 #include <QVariantMap>
25 #include "dbus_constants.h"cxx . . $ `<file>/online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h`/
26
27 class QDBusArgumentcxx . . $ QDBusArgument#;
28
29 namespace OnlineAccountsDaemoncxx . . $ OnlineAccountsDaemon/ {
30
31 struct AccountInfocxx . . $ OnlineAccountsDaemon/AccountInfo# {
32 uintcxx . . $ uint# accountIdcxx . . $ OnlineAccountsDaemon/AccountInfo#accountId.;
33 QVariantMapcxx . . $ QVariantMap# detailscxx . . $ OnlineAccountsDaemon/AccountInfo#details.;
34
35 AccountInfocxx . . $ OnlineAccountsDaemon/AccountInfo#AccountInfo(49f6e7a06ebc5aa8).(): accountIdcxx . . $ OnlineAccountsDaemon/AccountInfo#accountId.(0) {}
36 AccountInfocxx . . $ OnlineAccountsDaemon/AccountInfo#AccountInfo(a674b9a78b7822c6).(uintcxx . . $ uint# accountId, const QVariantMapcxx . . $ QVariantMap# &details):
37 accountIdcxx . . $ OnlineAccountsDaemon/AccountInfo#accountId.(accountId), detailscxx . . $ QMap#QMap(21739d87639e1d56).(details) {}
38 QStringcxx . . $ QString# serviceIdcxx . . $ OnlineAccountsDaemon/AccountInfo#serviceId(6ef7b6c27b00b43d).() const {
39 return detailscxx . . $ OnlineAccountsDaemon/AccountInfo#details.[cxx . . $ QMap#`operator[]`(bfda1f1f965926d4).ONLINE_ACCOUNTS_INFO_KEY_SERVICE_IDcxx . . $ QString#QString(85c52e162fed56f9).].toStringcxx . . $ QVariant#toString(6ef7b6c27b00b43d).();
40 }
41 };
42
43 } // namespace
44
45 QDBusArgumentcxx . . $ QDBusArgument# &operatorcxx . . $ `operator<<`(4fadde01c4030318).<<(QDBusArgumentcxx . . $ QDBusArgument# &argument,
46 const OnlineAccountsDaemoncxx . . $ OnlineAccountsDaemon/::AccountInfocxx . . $ OnlineAccountsDaemon/AccountInfo# &info);
47 const QDBusArgumentcxx . . $ QDBusArgument# &operatorcxx . . $ `operator>>`(75dd69ca085cacf).>>(const QDBusArgumentcxx . . $ QDBusArgument# &argument,
48 OnlineAccountsDaemoncxx . . $ OnlineAccountsDaemon/::AccountInfocxx . . $ OnlineAccountsDaemon/AccountInfo# &info);
49
50 Q_DECLARE_METATYPEcxx . . $ QBasicAtomicInteger#storeRelease(93d577a3e9528307).(OnlineAccountsDaemon::AccountInfo)
51
52 #endif // ONLINE_ACCOUNTS_DAEMON_ACCOUNT_INFO_H