| 1 | /* |
| 2 | * Copyright (C) 2014 Canonical Ltd. |
| 3 | * |
| 4 | * Contact: Alberto Mardegan <[email protected]> |
| 5 | * |
| 6 | * This file is part of lomiri-online-accounts-service |
| 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 OAU_LIBACCOUNTS_SERVICE_H |
| 22 | #define OAU_LIBACCOUNTS_SERVICE_Hcxx . . $ `online-accounts-service/src/libaccounts-service.h:22:9`! |
| 23 | |
| 24 | #include <QDBusContext> |
| 25 | #include <QDBusMessage> |
| 26 | #include <QObject> |
| 27 | |
| 28 | namespace OnlineAccountsUicxx . . $ OnlineAccountsUi/ { |
| 29 | |
| 30 | #define LIBACCOUNTS_OBJECT_PATHcxx . . $ `online-accounts-service/src/libaccounts-service.h:30:9`! \ |
| 31 | QStringLiteral("/com/google/code/AccountsSSO/Accounts/Manager") |
| 32 | #define LIBACCOUNTS_BUS_NAMEcxx . . $ `online-accounts-service/src/libaccounts-service.h:32:9`! \ |
| 33 | QStringLiteral("com.google.code.AccountsSSO.Accounts.Manager") |
| 34 | |
| 35 | class LibaccountsServicePrivatecxx . . $ OnlineAccountsUi/LibaccountsServicePrivate#; |
| 36 | |
| 37 | class LibaccountsServicecxx . . $ OnlineAccountsUi/LibaccountsService#: public QObjectcxx . . $ QObject#, protected QDBusContextcxx . . $ QDBusContext# |
| 38 | { |
| 39 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 40 | Q_CLASSINFOcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:100:10`!("D-Bus Interface", |
| 41 | "com.google.code.AccountsSSO.Accounts.Manager") |
| 42 | Q_CLASSINFOcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:100:10`!("D-Bus Introspection", "" |
| 43 | " <interface name=\"com.google.code.AccountsSSO.Accounts.Manager\">\n" |
| 44 | " <method name=\"store\">\n" |
| 45 | " <arg direction=\"in\" type=\"u\" name=\"account_id\"/>\n" |
| 46 | " <arg direction=\"in\" type=\"b\"/>\n" |
| 47 | " <arg direction=\"in\" type=\"b\"/>\n" |
| 48 | " <arg direction=\"in\" type=\"s\"/>\n" |
| 49 | " <arg direction=\"in\" type=\"a(ssua{sv}as)\"/>\n" |
| 50 | " <arg direction=\"out\" type=\"u\" name=\"account_id\"/>\n" |
| 51 | " </method>\n" |
| 52 | " </interface>\n" |
| 53 | "") |
| 54 | |
| 55 | public: |
| 56 | explicit LibaccountsServicecxx . . $ OnlineAccountsUi/LibaccountsService#LibaccountsService(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 57 | ~cxx . . $ OnlineAccountsUi/LibaccountsService#`~LibaccountsService`(ced63f7c635d850d).LibaccountsServicecxx . . $ OnlineAccountsUi/LibaccountsService#(); |
| 58 | |
| 59 | public Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 60 | void storecxx . . $ OnlineAccountsUi/LibaccountsService#store(65337ba3304bf734).(const QDBusMessagecxx . . $ QDBusMessage# &msg); |
| 61 | |
| 62 | private: |
| 63 | LibaccountsServicePrivatecxx . . $ OnlineAccountsUi/LibaccountsServicePrivate# *d_ptrcxx . . $ OnlineAccountsUi/LibaccountsService#d_ptr.; |
| 64 | Q_DECLARE_PRIVATEcxx . . $ OnlineAccountsUi/LibaccountsService#d_ptr.(LibaccountsService) |
| 65 | }; |
| 66 | |
| 67 | } // namespace |
| 68 | |
| 69 | #endif // OAU_LIBACCOUNTS_SERVICE_H |