| 1 | /* |
| 2 | * This file is part of OnlineAccountsDaemon |
| 3 | * |
| 4 | * Copyright (C) 2015-2016 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_DBUS_CONSTANTS_P_H |
| 22 | #define ONLINE_ACCOUNTS_DBUS_CONSTANTS_P_Hcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:22:9`! |
| 23 | |
| 24 | /* Manager service, object path and interface name */ |
| 25 | #define ONLINE_ACCOUNTS_MANAGER_SERVICE_NAMEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:25:9`! \ |
| 26 | "com.lomiri.OnlineAccounts.Manager" |
| 27 | #define ONLINE_ACCOUNTS_MANAGER_PATHcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:27:9`! "/com/lomiri/OnlineAccounts/Manager" |
| 28 | #define ONLINE_ACCOUNTS_MANAGER_INTERFACEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:28:9`! ONLINE_ACCOUNTS_MANAGER_SERVICE_NAME |
| 29 | |
| 30 | /* Keys for the account info dictionary */ |
| 31 | #define ONLINE_ACCOUNTS_INFO_KEY_DISPLAY_NAMEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:31:9`! "displayName" |
| 32 | #define ONLINE_ACCOUNTS_INFO_KEY_SERVICE_IDcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:32:9`! "serviceId" |
| 33 | #define ONLINE_ACCOUNTS_INFO_KEY_AUTH_METHODcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:33:9`! "authMethod" |
| 34 | # define ONLINE_ACCOUNTS_AUTH_METHOD_UNKNOWNcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:34:11`! 0 |
| 35 | # define ONLINE_ACCOUNTS_AUTH_METHOD_OAUTH1cxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:35:11`! 1 |
| 36 | # define ONLINE_ACCOUNTS_AUTH_METHOD_OAUTH2cxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:36:11`! 2 |
| 37 | # define ONLINE_ACCOUNTS_AUTH_METHOD_PASSWORDcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:37:11`! 3 |
| 38 | # define ONLINE_ACCOUNTS_AUTH_METHOD_SASLcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:38:11`! 4 |
| 39 | #define ONLINE_ACCOUNTS_INFO_KEY_SETTINGScxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:39:9`! "settings/" |
| 40 | #define ONLINE_ACCOUNTS_INFO_KEY_CHANGE_TYPEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:40:9`! "changeType" |
| 41 | # define ONLINE_ACCOUNTS_INFO_CHANGE_ENABLEDcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:41:11`! 0 |
| 42 | # define ONLINE_ACCOUNTS_INFO_CHANGE_DISABLEDcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:42:11`! 1 |
| 43 | # define ONLINE_ACCOUNTS_INFO_CHANGE_UPDATEDcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:43:11`! 2 |
| 44 | |
| 45 | /* Keys for the service info dictionary */ |
| 46 | #define ONLINE_ACCOUNTS_INFO_KEY_ICON_SOURCEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:46:9`! "iconSource" |
| 47 | |
| 48 | /* Error codes */ |
| 49 | #define ONLINE_ACCOUNTS_ERROR_PREFIXcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:49:9`! "com.lomiri.OnlineAccounts.Error." |
| 50 | #define ONLINE_ACCOUNTS_ERROR_NO_ACCOUNTcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:50:9`! \ |
| 51 | ONLINE_ACCOUNTS_ERROR_PREFIX "NoAccount" |
| 52 | #define ONLINE_ACCOUNTS_ERROR_USER_CANCELEDcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:52:9`! \ |
| 53 | ONLINE_ACCOUNTS_ERROR_PREFIX "UserCanceled" |
| 54 | #define ONLINE_ACCOUNTS_ERROR_PERMISSION_DENIEDcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:54:9`! \ |
| 55 | ONLINE_ACCOUNTS_ERROR_PREFIXcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:49:9`! "PermissionDenied" |
| 56 | #define ONLINE_ACCOUNTS_ERROR_INTERACTION_REQUIREDcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:56:9`! \ |
| 57 | ONLINE_ACCOUNTS_ERROR_PREFIX "InteractionRequired" |
| 58 | |
| 59 | /* Keys for the authentication data dictionaries */ |
| 60 | #define ONLINE_ACCOUNTS_AUTH_KEY_CLIENT_IDcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:60:9`! "ClientId" |
| 61 | #define ONLINE_ACCOUNTS_AUTH_KEY_CLIENT_SECRETcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:61:9`! "ClientSecret" |
| 62 | #define ONLINE_ACCOUNTS_AUTH_KEY_SCOPEScxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:62:9`! "Scopes" |
| 63 | #define ONLINE_ACCOUNTS_AUTH_KEY_ACCESS_TOKENcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:63:9`! "AccessToken" |
| 64 | #define ONLINE_ACCOUNTS_AUTH_KEY_EXPIRES_INcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:64:9`! "ExpiresIn" |
| 65 | #define ONLINE_ACCOUNTS_AUTH_KEY_GRANTED_SCOPEScxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:65:9`! "GrantedScopes" |
| 66 | |
| 67 | #define ONLINE_ACCOUNTS_AUTH_KEY_CONSUMER_KEYcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:67:9`! "ConsumerKey" |
| 68 | #define ONLINE_ACCOUNTS_AUTH_KEY_CONSUMER_SECRETcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:68:9`! "ConsumerSecret" |
| 69 | #define ONLINE_ACCOUNTS_AUTH_KEY_TOKENcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:69:9`! "Token" |
| 70 | #define ONLINE_ACCOUNTS_AUTH_KEY_TOKEN_SECRETcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:70:9`! "TokenSecret" |
| 71 | #define ONLINE_ACCOUNTS_AUTH_KEY_SIGNATURE_METHODcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:71:9`! "SignatureMethod" |
| 72 | |
| 73 | #define ONLINE_ACCOUNTS_AUTH_KEY_SERVICEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:73:9`! "Service" |
| 74 | #define ONLINE_ACCOUNTS_AUTH_KEY_MECHANISMScxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:74:9`! "MechList" |
| 75 | #define ONLINE_ACCOUNTS_AUTH_KEY_FQDNcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:75:9`! "Fqdn" |
| 76 | #define ONLINE_ACCOUNTS_AUTH_KEY_LOCAL_IPcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:76:9`! "IpLocal" |
| 77 | #define ONLINE_ACCOUNTS_AUTH_KEY_REMOTE_IPcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:77:9`! "IpRemote" |
| 78 | #define ONLINE_ACCOUNTS_AUTH_KEY_CHALLENGEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:78:9`! "Challenge" |
| 79 | #define ONLINE_ACCOUNTS_AUTH_KEY_CHOSEN_MECHANISMcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:79:9`! "ChosenMechanism" |
| 80 | #define ONLINE_ACCOUNTS_AUTH_KEY_RESPONSEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:80:9`! "Response" |
| 81 | #define ONLINE_ACCOUNTS_AUTH_KEY_STATEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:81:9`! "state" |
| 82 | # define ONLINE_ACCOUNTS_AUTH_SASL_STATE_FINISHEDcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:82:11`! 0 |
| 83 | # define ONLINE_ACCOUNTS_AUTH_SASL_STATE_CONTINUEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:83:11`! 1 |
| 84 | |
| 85 | #define ONLINE_ACCOUNTS_AUTH_KEY_USERNAMEcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:85:9`! "Username" |
| 86 | #define ONLINE_ACCOUNTS_AUTH_KEY_PASSWORDcxx . . $ `online-accounts-daemon/lib/LomiriOnlineAccountsDaemon/dbus_constants.h:86:9`! "Password" |
| 87 | |
| 88 | |
| 89 | #endif // ONLINE_ACCOUNTS_DBUS_CONSTANTS_P_H |