| 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_STATE_SAVER_H |
| 22 | #define ONLINE_ACCOUNTS_DAEMON_STATE_SAVER_Hcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/state_saver.h:22:9`! |
| 23 | |
| 24 | #include <QObject> |
| 25 | #include <QStringList> |
| 26 | #include "account_info.h"cxx . . $ `<file>/online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/account_info.h`/ |
| 27 | |
| 28 | namespace OnlineAccountsDaemoncxx . . $ OnlineAccountsDaemon/ { |
| 29 | |
| 30 | typedef QPaircxx . . $ QPair#<QStringcxx . . $ QString#,QStringcxx . . $ QString#> Clientcxx . . $ OnlineAccountsDaemon/Client#; |
| 31 | |
| 32 | class StateSaverPrivatecxx . . $ OnlineAccountsDaemon/StateSaverPrivate#; |
| 33 | class StateSavercxx . . $ OnlineAccountsDaemon/StateSaver#: public QObjectcxx . . $ QObject# |
| 34 | { |
| 35 | Q_OBJECTcxx . . $ OnlineAccountsDaemon/StateSaver#tr(75d9f1c324b4579d). |
| 36 | |
| 37 | public: |
| 38 | explicit StateSavercxx . . $ OnlineAccountsDaemon/StateSaver#StateSaver(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent = 0); |
| 39 | ~cxx . . $ OnlineAccountsDaemon/StateSaver#`~StateSaver`(ced63f7c635d850d).StateSavercxx . . $ OnlineAccountsDaemon/StateSaver#(); |
| 40 | |
| 41 | void setAccountscxx . . $ OnlineAccountsDaemon/StateSaver#setAccounts(7e2a836ef84a595d).(const QListcxx . . $ QList#<AccountInfocxx . . $ OnlineAccountsDaemon/AccountInfo#> &accounts); |
| 42 | QListcxx . . $ QList#<AccountInfocxx . . $ OnlineAccountsDaemon/AccountInfo#> accountscxx . . $ OnlineAccountsDaemon/StateSaver#accounts(8c2a31e2a1c656b0).() const; |
| 43 | |
| 44 | void setClientscxx . . $ OnlineAccountsDaemon/StateSaver#setClients(fe623d1aec3b0be0).(const QListcxx . . $ QList#<Clientcxx . . $ OnlineAccountsDaemon/Client#> &clients); |
| 45 | QListcxx . . $ QList#<Clientcxx . . $ OnlineAccountsDaemon/Client#> clientscxx . . $ OnlineAccountsDaemon/StateSaver#clients(2a451393b5397ebb).() const; |
| 46 | |
| 47 | private: |
| 48 | Q_DECLARE_PRIVATEcxx . . $ OnlineAccountsDaemon/StateSaver#d_func(e35c6f7e581a9898).(StateSaver) |
| 49 | StateSaverPrivatecxx . . $ OnlineAccountsDaemon/StateSaverPrivate# *d_ptrcxx . . $ OnlineAccountsDaemon/StateSaver#d_ptr.; |
| 50 | }; |
| 51 | |
| 52 | } // namespace |
| 53 | |
| 54 | #endif // ONLINE_ACCOUNTS_DAEMON_STATE_SAVER_H |