| 1 | /* |
| 2 | * Copyright (C) 2013 Canonical Ltd. |
| 3 | * |
| 4 | * Contact: Alberto Mardegan <[email protected]> |
| 5 | * |
| 6 | * This file is part of lomiri-online-accounts-ui and lomiri-online-accounts- |
| 7 | * service |
| 8 | * |
| 9 | * This program is free software: you can redistribute it and/or modify it |
| 10 | * under the terms of the GNU General Public License version 3, as published |
| 11 | * by the Free Software Foundation. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, but |
| 14 | * WITHOUT ANY WARRANTY; without even the implied warranties of |
| 15 | * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
| 16 | * PURPOSE. See the GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License along |
| 19 | * with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 | */ |
| 21 | |
| 22 | #ifndef OAU_GLOBALS_H |
| 23 | #define OAU_GLOBALS_Hcxx . . $ `online-accounts-common/globals.h:23:9`! |
| 24 | |
| 25 | #define OAU_SERVICE_NAMEcxx . . $ `online-accounts-common/globals.h:25:9`! QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("com.lomiri.OnlineAccountsUi") |
| 26 | #define OAU_OBJECT_PATHcxx . . $ `online-accounts-common/globals.h:26:9`! QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("/") |
| 27 | #define OAU_INTERFACEcxx . . $ `online-accounts-common/globals.h:27:9`! OAU_SERVICE_NAME |
| 28 | |
| 29 | #define OAU_KEY_APPLICATIONcxx . . $ `online-accounts-common/globals.h:29:9`! QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("application") |
| 30 | #define OAU_KEY_PROVIDERcxx . . $ `online-accounts-common/globals.h:30:9`! QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("provider") |
| 31 | #define OAU_KEY_SERVICE_IDcxx . . $ `online-accounts-common/globals.h:31:9`! QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("serviceId") |
| 32 | #define OAU_KEY_SERVICE_TYPEcxx . . $ `online-accounts-common/globals.h:32:9`! QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("serviceType") |
| 33 | #define OAU_KEY_WINDOW_IDcxx . . $ `online-accounts-common/globals.h:33:9`! QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("windowId") |
| 34 | #define OAU_KEY_PIDcxx . . $ `online-accounts-common/globals.h:34:9`! QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("pid") |
| 35 | #define OAU_KEY_ACCOUNT_IDcxx . . $ `online-accounts-common/globals.h:35:9`! QStringLiteral("accountId") |
| 36 | |
| 37 | // D-Bus error names |
| 38 | #define OAU_ERROR_PREFIXcxx . . $ `online-accounts-common/globals.h:38:9`! "com.lomiri.OnlineAccountsUi." |
| 39 | #define OAU_ERROR_USER_CANCELEDcxx . . $ `online-accounts-common/globals.h:39:9`! \ |
| 40 | QStringLiteral(OAU_ERROR_PREFIX "UserCanceled") |
| 41 | #define OAU_ERROR_INVALID_PARAMETERScxx . . $ `online-accounts-common/globals.h:41:9`! \ |
| 42 | QStringLiteral(OAU_ERROR_PREFIX "InvalidParameters") |
| 43 | #define OAU_ERROR_INVALID_APPLICATIONcxx . . $ `online-accounts-common/globals.h:43:9`! \ |
| 44 | QStringLiteral(OAU_ERROR_PREFIX "InvalidApplication") |
| 45 | #define OAU_ERROR_INVALID_SERVICEcxx . . $ `online-accounts-common/globals.h:45:9`! \ |
| 46 | QStringLiteral(OAU_ERROR_PREFIX "InvalidService") |
| 47 | #define OAU_ERROR_PROMPT_SESSIONcxx . . $ `online-accounts-common/globals.h:47:9`! \ |
| 48 | QStringLiteral(OAU_ERROR_PREFIX "NoPromptSession") |
| 49 | |
| 50 | /* SignOnUi service */ |
| 51 | #define SIGNONUI_SERVICE_NAMEcxx . . $ `online-accounts-common/globals.h:51:9`! QStringLiteral("com.nokia.singlesignonui") |
| 52 | #define SIGNONUI_OBJECT_PATHcxx . . $ `online-accounts-common/globals.h:52:9`! QStringLiteral("/SignonUi") |
| 53 | #define SIGNONUI_INTERFACEcxx . . $ `online-accounts-common/globals.h:53:9`! SIGNONUI_SERVICE_NAME |
| 54 | |
| 55 | #define SIGNON_UI_ERROR_PREFIXcxx . . $ `online-accounts-common/globals.h:55:9`! "com.lomiri.SignonUi." |
| 56 | |
| 57 | #define SIGNON_UI_ERROR_INTERNALcxx . . $ `online-accounts-common/globals.h:57:9`! \ |
| 58 | QStringLiteral(SIGNON_UI_ERROR_PREFIX "InternalError") |
| 59 | |
| 60 | #endif // OAU_GLOBALS_H |