| 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 | #ifndef ONLINE_ACCOUNTS_AUTHENTICATION_DATA_P_H |
| 22 | #define ONLINE_ACCOUNTS_AUTHENTICATION_DATA_P_H |
| 23 | |
| 24 | #include "authentication_data.h" |
| 25 | |
| 26 | #include <QSharedData> |
| 27 | #include <QVariantMap> |
| 28 | |
| 29 | namespace OnlineAccounts { |
| 30 | |
| 31 | class AuthenticationDataPrivate: public QSharedData |
| 32 | { |
| 33 | public: |
| 34 | inline AuthenticationDataPrivate(AuthenticationMethod method); |
| 35 | virtual ~AuthenticationDataPrivate() {}; |
| 36 | |
| 37 | friend class AuthenticationData; |
| 38 | |
| 39 | AuthenticationMethod m_method; |
| 40 | bool m_interactive; |
| 41 | bool m_invalidateCachedReply; |
| 42 | QVariantMap m_parameters; |
| 43 | }; |
| 44 | |
| 45 | } // namespace |
| 46 | |
| 47 | #endif // ONLINE_ACCOUNTS_AUTHENTICATION_DATA_P_H |