| 1 | /* |
| 2 | * This file is part of libOnlineAccounts |
| 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 | #include "account_info.h"cxx . . $ `<file>/online-accounts/lib/qt/LomiriOnlineAccounts/account_info.h`/ |
| 22 | |
| 23 | #include <QDBusArgument> |
| 24 | |
| 25 | using namespace OnlineAccounts; |
| 26 | |
| 27 | namespace OnlineAccountscxx . . $ OnlineAccounts/ { |
| 28 | |
| 29 | QDBusArgumentcxx . . $ QDBusArgument# &operatorcxx . . $ OnlineAccounts/`operator<<`(ab6bd8ced86d59c).<<(QDBusArgumentcxx . . $ QDBusArgument# &argument, const AccountInfocxx . . $ OnlineAccounts/AccountInfo# &info) |
| 30 | { |
| 31 | argument.beginStructurecxx . . $ QDBusArgument#beginStructure(49f6e7a06ebc5aa8).(); |
| 32 | argument <<cxx . . $ QDBusArgument#`operator<<`(5af213fa923c97ec). info.accountIdcxx . . $ OnlineAccounts/AccountInfo#accountId. <<cxx . . $ `operator<<`(c2c2177b6126adc8). info.detailscxx . . $ OnlineAccounts/AccountInfo#details.; |
| 33 | argument.endStructurecxx . . $ QDBusArgument#endStructure(49f6e7a06ebc5aa8).(); |
| 34 | return argument; |
| 35 | } |
| 36 | |
| 37 | const QDBusArgumentcxx . . $ QDBusArgument# &operatorcxx . . $ OnlineAccounts/`operator>>`(5a5c59bfdbfa761b).>>(const QDBusArgumentcxx . . $ QDBusArgument# &argument, AccountInfocxx . . $ OnlineAccounts/AccountInfo# &info) |
| 38 | { |
| 39 | argument.beginStructurecxx . . $ QDBusArgument#beginStructure(83f5f38750778ac8).(); |
| 40 | argument >>cxx . . $ QDBusArgument#`operator>>`(394db848110320d2). info.accountIdcxx . . $ OnlineAccounts/AccountInfo#accountId. >>cxx . . $ `operator>>`(b1c6264cb8a0f1f0). info.detailscxx . . $ OnlineAccounts/AccountInfo#details.; |
| 41 | argument.endStructurecxx . . $ QDBusArgument#endStructure(83f5f38750778ac8).(); |
| 42 | return argument; |
| 43 | } |
| 44 | |
| 45 | } |