| 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_GLOBAL_H |
| 22 | #define ONLINE_ACCOUNTS_GLOBAL_Hcxx . . $ `online-accounts/lib/qt/LomiriOnlineAccounts/global.h:22:9`! |
| 23 | |
| 24 | #include <QtGlobal> |
| 25 | |
| 26 | #if defined(BUILDING_ONLINE_ACCOUNTScxx . . $ `<built-in>:476:9`!) |
| 27 | # define ONLINE_ACCOUNTS_EXPORTcxx . . $ `online-accounts/lib/qt/LomiriOnlineAccounts/global.h:27:11`! Q_DECL_EXPORTcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:235:13`! |
| 28 | #else |
| 29 | # define ONLINE_ACCOUNTS_EXPORTcxx . . $ `online-accounts/lib/qt/LomiriOnlineAccounts/global.h:29:11`! Q_DECL_IMPORTcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:236:13`! |
| 30 | #endif |
| 31 | |
| 32 | #if defined(BUILDING_ONLINE_ACCOUNTScxx . . $ `<built-in>:476:9`!) |
| 33 | #include <QLoggingCategory> |
| 34 | Q_DECLARE_LOGGING_CATEGORYcxx . . $ `<external>/13903568758641964362/qloggingcategory.h:111:9`!(DBG_ONLINE_ACCOUNTS) |
| 35 | #endif |
| 36 | |
| 37 | namespace OnlineAccountscxx . . $ OnlineAccounts/ { |
| 38 | |
| 39 | typedef uintcxx . . $ uint# AccountIdcxx . . $ OnlineAccounts/AccountId#; |
| 40 | |
| 41 | enum AuthenticationMethodcxx . . $ OnlineAccounts/AuthenticationMethod# { |
| 42 | AuthenticationMethodUnknowncxx . . $ OnlineAccounts/AuthenticationMethodUnknown. = 0, |
| 43 | AuthenticationMethodOAuth1cxx . . $ OnlineAccounts/AuthenticationMethodOAuth1., |
| 44 | AuthenticationMethodOAuth2cxx . . $ OnlineAccounts/AuthenticationMethodOAuth2., |
| 45 | AuthenticationMethodPasswordcxx . . $ OnlineAccounts/AuthenticationMethodPassword., |
| 46 | AuthenticationMethodSaslcxx . . $ OnlineAccounts/AuthenticationMethodSasl., |
| 47 | }; |
| 48 | |
| 49 | } // namespace |
| 50 | |
| 51 | #endif // ONLINE_ACCOUNTS_GLOBAL_H |