1 /* 2 * Copyright (c) 2022-2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 #ifndef NAPI_CONSTANTS_H 16 #define NAPI_CONSTANTS_H 17 18 namespace OHOS { 19 namespace AppExecFwk { 20 namespace { 21 constexpr size_t ARGS_SIZE_ZERO = 0; 22 constexpr size_t ARGS_SIZE_ONE = 1; 23 constexpr size_t ARGS_SIZE_TWO = 2; 24 constexpr size_t ARGS_SIZE_THREE = 3; 25 constexpr size_t ARGS_SIZE_FOUR = 4; 26 constexpr size_t ARGS_SIZE_FIVE = 5; 27 28 constexpr size_t ARGS_POS_ZERO = 0; 29 constexpr size_t ARGS_POS_ONE = 1; 30 constexpr size_t ARGS_POS_TWO = 2; 31 constexpr size_t ARGS_POS_THREE = 3; 32 constexpr size_t ARGS_POS_FOUR = 4; 33 34 constexpr size_t NAPI_RETURN_ONE = 1; 35 constexpr size_t CALLBACK_PARAM_SIZE = 2; 36 37 constexpr int32_t SPECIFIED_DISTRIBUTION_TYPE_MAX_SIZE = 128; 38 constexpr int32_t ADDITIONAL_INFO_MAX_SIZE = 3000; 39 constexpr uint32_t EXPLICIT_QUERY_RESULT_LEN = 1; 40 41 constexpr int32_t ENUM_ONE = 1; 42 constexpr int32_t ENUM_TWO = 2; 43 constexpr int32_t ENUM_THREE = 3; 44 constexpr int32_t ENUM_FOUR = 4; 45 constexpr int32_t ENUM_FIVE = 5; 46 constexpr int32_t ENUM_SIX = 6; 47 constexpr int32_t ENUM_SEVEN = 7; 48 49 constexpr const char* TYPE_NUMBER = "number"; 50 constexpr const char* TYPE_STRING = "string"; 51 constexpr const char* TYPE_OBJECT = "object"; 52 constexpr const char* TYPE_BOOLEAN = "boolean"; 53 constexpr const char* TYPE_FUNCTION = "function"; 54 constexpr const char* TYPE_ARRAY = "array"; 55 56 constexpr const char* UID = "uid"; 57 constexpr const char* USER_ID = "userId"; 58 constexpr const char* BUNDLE_NAME = "bundleName"; 59 constexpr const char* MODULE_NAME = "moduleName"; 60 constexpr const char* ABILITY_NAME = "abilityName"; 61 constexpr const char* APP_INDEX = "appIndex"; 62 constexpr const char* PARAM_TYPE_CHECK_ERROR = "param type check error"; 63 64 // bundle_manager 65 constexpr const char* BUNDLE_FLAGS = "bundleFlags"; 66 constexpr const char* APP_FLAGS = "appFlags"; 67 constexpr const char* ERR_MSG_BUNDLE_SERVICE_EXCEPTION = "Bundle manager service is excepted."; 68 constexpr const char* IS_APPLICATION_ENABLED_SYNC = "IsApplicationEnabledSync"; 69 constexpr const char* GET_BUNDLE_INFO_FOR_SELF_SYNC = "GetBundleInfoForSelfSync"; 70 constexpr const char* GET_BUNDLE_INFO_SYNC = "GetBundleInfoSync"; 71 constexpr const char* GET_APPLICATION_INFO_SYNC = "GetApplicationInfoSync"; 72 constexpr const char* BUNDLE_PERMISSIONS = 73 "ohos.permission.GET_BUNDLE_INFO or ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"; 74 constexpr const char* GET_BUNDLE_INFO = "GetBundleInfo"; 75 constexpr const char* GET_APPLICATION_INFO = "GetApplicationInfo"; 76 constexpr const char* FLAGS = "flags"; 77 constexpr const char* ABILITY_FLAGS = "abilityFlags"; 78 constexpr const char* ABILITY_INFO = "abilityInfo"; 79 constexpr const char* LINK_FEATURE = "linkFeature"; 80 constexpr const char* EXTENSION_TYPE_NAME = "extensionTypeName"; 81 constexpr const char* EXTENSION_ABILITY_TYPE = "extensionAbilityType"; 82 constexpr const char* PARAM_EXTENSION_ABILITY_TYPE_EMPTY_ERROR = 83 "BusinessError 401: Parameter error.Parameter extensionAbilityType is empty."; 84 constexpr const char* INVALID_WANT_ERROR = 85 "implicit query condition, at least one query param(action, entities, uri, type, or linkFeature) non-empty."; 86 constexpr const char* APP_CLONE_IDENTITY_PERMISSIONS = "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"; 87 constexpr const char* GET_BUNDLE_INFOS = "GetBundleInfos"; 88 constexpr const char* GET_APPLICATION_INFOS = "GetApplicationInfos"; 89 constexpr const char* IS_APPLICATION_ENABLED = "IsApplicationEnabled"; 90 constexpr const char* QUERY_ABILITY_INFOS_SYNC = "QueryAbilityInfosSync"; 91 constexpr const char* GET_APP_CLONE_IDENTITY = "getAppCloneIdentity"; 92 constexpr const char* GET_ABILITY_LABEL = "GetAbilityLabel"; 93 constexpr const char* QUERY_EXTENSION_INFOS_SYNC = "QueryExtensionInfosSync"; 94 constexpr const char* GET_LAUNCH_WANT_FOR_BUNDLE_SYNC = "GetLaunchWantForBundleSync"; 95 constexpr const char* IS_ABILITY_ENABLED_SYNC = "IsAbilityEnabledSync"; 96 constexpr const char* SET_ABILITY_ENABLED_SYNC = "SetAbilityEnabledSync"; 97 constexpr const char* SET_APPLICATION_ENABLED_SYNC = "SetApplicationEnabledSync"; 98 constexpr const char* GET_APP_CLONE_BUNDLE_INFO = "GetAppCloneBundleInfo"; 99 constexpr const char* GET_DYNAMIC_ICON = "GetDynamicIcon"; 100 constexpr const char* RESOURCE_NAME_OF_GET_SPECIFIED_DISTRIBUTION_TYPE = "GetSpecifiedDistributionType"; 101 constexpr const char* BATCH_QUERY_ABILITY_INFOS = "BatchQueryAbilityInfos"; 102 constexpr const char* GET_BUNDLE_NAME_BY_UID = "GetBundleNameByUid"; 103 constexpr const char* ENABLE_DYNAMIC_ICON = "EnableDynamicIcon"; 104 constexpr const char* QUERY_ABILITY_INFOS = "QueryAbilityInfos"; 105 constexpr const char* GET_ABILITY_LABEL_SYNC = "GetAbilityLabelSync"; 106 constexpr const char* GET_LAUNCH_WANT_FOR_BUNDLE = "GetLaunchWantForBundle"; 107 constexpr const char* GET_BUNDLE_NAME_BY_UID_SYNC = "GetBundleNameByUidSync"; 108 constexpr const char* QUERY_EXTENSION_INFOS = "QueryExtensionInfos"; 109 constexpr const char* SET_ABILITY_ENABLED = "SetAbilityEnabled"; 110 constexpr const char* SET_APPLICATION_ENABLED = "SetApplicationEnabled"; 111 constexpr const char* HAP_FILE_PATH = "hapFilePath"; 112 constexpr const char* PERMISSION_NAME = "permissionName"; 113 constexpr const char* PROFILE_TYPE = "profileType"; 114 constexpr const char* ADDITIONAL_INFO = "additionalInfo"; 115 constexpr const char* DEVELOPER_ID = "developerId"; 116 constexpr const char* APP_DISTRIBUTION_TYPE = "appDistributionType"; 117 constexpr const char* APP_DISTRIBUTION_TYPE_ENUM = "AppDistributionType"; 118 constexpr const char* HOST_BUNDLE_NAME = "hostBundleName"; 119 constexpr const char* SOURCE_PATHS = "sourcePaths"; 120 constexpr const char* DESTINATION_PATH = "destinationPath"; 121 constexpr const char* LINK = "link"; 122 constexpr const char* URI = "uri"; 123 constexpr const char* SANDBOX_DATA_DIR = "sandboxDataDir"; 124 constexpr const char* ERR_MSG_LAUNCH_WANT_INVALID = "The launch want is not found."; 125 constexpr const char* PARAM_BUNDLENAME_EMPTY_ERROR = 126 "BusinessError 401: Parameter error. parameter bundleName is empty"; 127 constexpr const char* PARAM_MODULENAME_EMPTY_ERROR = 128 "BusinessError 401: Parameter error. parameter moduleName is empty"; 129 constexpr const char* GET_SIGNATURE_INFO_PERMISSIONS = "ohos.permission.GET_SIGNATURE_INFO"; 130 constexpr const char* PARAM_DEVELOPER_ID_EMPTY_ERROR = 131 "BusinessError 401: Parameter error. parameter developerId is empty"; 132 constexpr const char* BUNDLE_ENABLE_AND_DISABLE_ALL_DYNAMIC_PERMISSIONS = 133 "ohos.permission.ACCESS_DYNAMIC_ICON and ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS"; 134 constexpr const char* BUNDLE_GET_ALL_DYNAMIC_PERMISSIONS = 135 "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED and ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS"; 136 constexpr const char* GET_ABILITYINFO_PERMISSIONS = "ohos.permission.GET_ABILITY_INFO"; 137 constexpr const char* GET_BUNDLE_ARCHIVE_INFO = "GetBundleArchiveInfo"; 138 constexpr const char* GET_PERMISSION_DEF = "GetPermissionDef"; 139 constexpr const char* CLEAN_BUNDLE_CACHE_FILES = "cleanBundleCacheFiles"; 140 constexpr const char* GET_ALL_BUNDLE_CACHE_SIZE = "getAllBundleCacheSize"; 141 constexpr const char* CLEAN_ALL_BUNDLE_CACHE = "cleanAllBundleCache"; 142 constexpr const char* GET_APP_PROVISION_INFO = "GetAppProvisionInfo"; 143 constexpr const char* CAN_OPEN_LINK = "CanOpenLink"; 144 constexpr const char* GET_ALL_PREINSTALLED_APP_INFOS = "GetAllPreinstalledApplicationInfos"; 145 constexpr const char* GET_ALL_BUNDLE_INFO_BY_DEVELOPER_ID = "GetAllBundleInfoByDeveloperId"; 146 constexpr const char* SWITCH_UNINSTALL_STATE = "SwitchUninstallState"; 147 constexpr const char* GET_SIGNATURE_INFO = "GetSignatureInfo"; 148 constexpr const char* GET_ALL_APP_CLONE_BUNDLE_INFO = "GetAllAppCloneBundleInfo"; 149 constexpr const char* GET_BUNDLE_ARCHIVE_INFO_SYNC = "GetBundleArchiveInfoSync"; 150 constexpr const char* GET_PROFILE_BY_EXTENSION_ABILITY_SYNC = "GetProfileByExtensionAbilitySync"; 151 constexpr const char* GET_PROFILE_BY_ABILITY_SYNC = "GetProfileByAbilitySync"; 152 constexpr const char* GET_PERMISSION_DEF_SYNC = "GetPermissionDefSync"; 153 constexpr const char* GET_APP_PROVISION_INFO_SYNC = "GetAppProvisionInfoSync"; 154 constexpr const char* GET_ALL_SHARED_BUNDLE_INFO = "GetAllSharedBundleInfo"; 155 constexpr const char* GET_SHARED_BUNDLE_INFO = "GetSharedBundleInfo"; 156 constexpr const char* GET_JSON_PROFILE = "GetJsonProfile"; 157 constexpr const char* RESOURCE_NAME_OF_GET_ADDITIONAL_INFO = "GetAdditionalInfo"; 158 constexpr const char* GET_EXT_RESOURCE = "GetExtResource"; 159 constexpr const char* DISABLE_DYNAMIC_ICON = "DisableDynamicIcon"; 160 constexpr const char* VERIFY_ABC = "VerifyAbc"; 161 constexpr const char* DELETE_ABC = "DeleteAbc"; 162 constexpr const char* GET_RECOVERABLE_APPLICATION_INFO = "GetRecoverableApplicationInfo"; 163 constexpr const char* RESOURCE_NAME_OF_SET_ADDITIONAL_INFO = "SetAdditionalInfo"; 164 constexpr const char* GET_DEVELOPER_IDS = "GetDeveloperIds"; 165 constexpr const char* GET_ALL_PLUGIN_INFO = "GetAllPluginInfo"; 166 constexpr const char* MIGRATE_DATA = "MigrateData"; 167 constexpr const char* GET_ALL_DYNAMIC_ICON = "GetAllDynamicIconInfo"; 168 constexpr const char* GET_SANDBOX_DATA_DIR_SYNC = "GetSandboxDataDirSync"; 169 constexpr const char* GET_ABILITY_INFOS = "GetAbilityInfos"; 170 constexpr const char* GET_DYNAMIC_ICON_INFO = "GetDynamicIconInfo"; 171 172 // launcher_bundle_manager 173 constexpr const char* GET_SHORTCUT_INFO = "GetShortcutInfo"; 174 constexpr const char* GET_SHORTCUT_INFO_SYNC = "GetShortcutInfoSync"; 175 constexpr const char* GET_SHORTCUT_INFO_BY_APPINDEX = "GetShortcutInfoByAppIndex"; 176 constexpr const char* ERROR_EMPTY_WANT = "want in ShortcutInfo cannot be empty"; 177 constexpr const char* PARSE_SHORTCUT_INFO_FAILED = "parse ShortcutInfo failed"; 178 constexpr const char* PARSE_START_OPTIONS_FAILED = "parse StartOptions failed"; 179 constexpr const char* START_SHORTCUT = "StartShortcut"; 180 constexpr const char* GET_LAUNCHER_ABILITY_INFO = "GetLauncherAbilityInfo"; 181 constexpr const char* GET_LAUNCHER_ABILITY_INFO_SYNC = "GetLauncherAbilityInfoSync"; 182 constexpr const char* GET_ALL_LAUNCHER_ABILITY_INFO = "GetAllLauncherAbilityInfo"; 183 constexpr const char* PARSE_REASON_MESSAGE = "parse ReasonMessage failed"; 184 constexpr const char* START_SHORTCUT_WITH_REASON = "StartShortcutWithReason"; 185 186 // resource_manager 187 constexpr const char* PERMISSION_GET_BUNDLE_RESOURCES = "ohos.permission.GET_BUNDLE_RESOURCES"; 188 constexpr const char* GET_BUNDLE_RESOURCE_INFO = "GetBundleResourceInfo"; 189 constexpr const char* RESOURCE_FLAGS = "resourceFlags"; 190 constexpr const char* PERMISSION_GET_ALL_BUNDLE_RESOURCES = 191 "ohos.permission.GET_INSTALLED_BUNDLE_LIST and ohos.permission.GET_BUNDLE_RESOURCES"; 192 constexpr const char* GET_LAUNCHER_ABILITY_RESOURCE_INFO = "GetLauncherAbilityResourceInfo"; 193 constexpr const char* GET_ALL_BUNDLE_RESOURCE_INFO = "GetAllBundleResourceInfo"; 194 constexpr const char* GET_ALL_LAUNCHER_ABILITY_RESOURCE_INFO = "GetAllLauncherAbilityResourceInfo"; 195 constexpr const char* GET_EXTENSION_ABILITY_RESOURCE_INFO = "GetExtensionAbilityResourceInfo"; 196 197 // shortcut_manager 198 constexpr const char* ADD_DESKTOP_SHORTCUT_INFO = "AddDesktopShortcutInfo"; 199 constexpr const char* DELETE_DESKTOP_SHORTCUT_INFO = "DeleteDesktopShortcutInfo"; 200 constexpr const char* GET_ALL_DESKTOP_SHORTCUT_INFO = "GetAllDesktopShortcutInfo"; 201 constexpr const char* SET_SHORTCUT_VISIBLE = "SetShortcutVisibleForSelf"; 202 constexpr const char* GET_ALL_SHORTCUT_INFO_FOR_SELF = "GetAllShortcutInfoForSelf"; 203 constexpr const char* SHORTCUT_ID = "shortcutId"; 204 constexpr const char* INVALID_SHORTCUT_INFO_ERROR = 205 "invalid ShortcutInfo: parameter type error, or appIndex is less than 0"; 206 207 // free_install 208 constexpr const char* RESOURCE_NAME_OF_IS_HAP_MODULE_REMOVABLE = "isHapModuleRemovable"; 209 constexpr const char* RESOURCE_NAME_OF_SET_HAP_MODULE_UPGRADE_FLAG = "setHapModuleUpgradeFlag"; 210 constexpr const char* RESOURCE_NAME_OF_GET_BUNDLE_PACK_INFO = "getBundlePackInfo"; 211 constexpr const char* RESOURCE_NAME_OF_GET_DISPATCH_INFO = "getDispatchInfo"; 212 constexpr const char* DISPATCH_INFO_VERSION = "1"; 213 constexpr const char* DISPATCH_INFO_DISPATCH_API = "1.0"; 214 constexpr const char* UPGRADE_FLAG = "upgradeFlag"; 215 constexpr const char* BUNDLE_PACK_FLAG = "bundlePackFlag"; 216 217 // overlay 218 constexpr const char* TARGET_MODULE_NAME = "targetModuleName"; 219 constexpr const char* TARGET_BUNDLE_NAME = "targetBundleName"; 220 constexpr const char* IS_ENABLED = "isEnabled"; 221 constexpr const char* SET_OVERLAY_ENABLED = "SetOverlayEnabled"; 222 constexpr const char* SET_OVERLAY_ENABLED_BY_BUNDLE_NAME = "SetOverlayEnabledByBundleName"; 223 constexpr const char* GET_OVERLAY_MODULE_INFO = "GetOverlayModuleInfo"; 224 constexpr const char* GET_TARGET_OVERLAY_MODULE_INFOS = "GetTargetOverlayModuleInfos"; 225 constexpr const char* GET_OVERLAY_MODULE_INFO_BY_BUNDLE_NAME = "GetOverlayModuleInfoByBundleName"; 226 constexpr const char* GET_TARGET_OVERLAY_MODULE_INFOS_BY_BUNDLE_NAME = "GetTargetOverlayModuleInfosByBundleName"; 227 228 // installer 229 constexpr const char* RESOURCE_NAME_OF_GET_BUNDLE_INSTALLER = "GetBundleInstaller"; 230 constexpr const char* RESOURCE_NAME_OF_GET_BUNDLE_INSTALLER_SYNC = "GetBundleInstallerSync"; 231 constexpr const char* RESOURCE_NAME_OF_INSTALL = "Install"; 232 constexpr const char* RESOURCE_NAME_OF_UNINSTALL = "Uninstall"; 233 constexpr const char* RESOURCE_NAME_OF_RECOVER = "Recover"; 234 constexpr const char* RESOURCE_NAME_OF_UPDATE_BUNDLE_FOR_SELF = "UpdateBundleForSelf"; 235 constexpr const char* RESOURCE_NAME_OF_UNINSTALL_AND_RECOVER = "UninstallAndRecover"; 236 constexpr const char* INSTALL_PERMISSION = 237 "ohos.permission.INSTALL_BUNDLE or " 238 "ohos.permission.INSTALL_ENTERPRISE_BUNDLE or " 239 "ohos.permission.INSTALL_ENTERPRISE_MDM_BUNDLE or " 240 "ohos.permission.INSTALL_ENTERPRISE_NORMAL_BUNDLE or " 241 "ohos.permission.INSTALL_INTERNALTESTING_BUNDLE"; 242 constexpr const char* UNINSTALL_PERMISSION = "ohos.permission.INSTALL_BUNDLE or ohos.permission.UNINSTALL_BUNDLE"; 243 constexpr const char* RECOVER_PERMISSION = "ohos.permission.INSTALL_BUNDLE or ohos.permission.RECOVER_BUNDLE"; 244 constexpr const char* INSTALL_SELF_PERMISSION = "ohos.permission.INSTALL_SELF_BUNDLE"; 245 constexpr const char* PARAMETERS = "parameters"; 246 constexpr const char* CORRESPONDING_TYPE = "corresponding type"; 247 constexpr const char* FILE_PATH = "filePath"; 248 constexpr const char* ADD_EXT_RESOURCE = "AddExtResource"; 249 constexpr const char* REMOVE_EXT_RESOURCE = "RemoveExtResource"; 250 constexpr const char* PARAM_HAPS_FILE_EMPTY_ERROR = 251 "BusinessError 401: Parameter error. parameter hapFiles is needed for code signature"; 252 constexpr const char* CREATE_APP_CLONE = "CreateAppClone"; 253 constexpr const char* DESTROY_APP_CLONE = "destroyAppClone"; 254 constexpr const char* INSTALL_PREEXISTING_APP = "installPreexistingApp"; 255 constexpr const char* INSTALL_PLUGIN = "InstallPlugin"; 256 constexpr const char* UNINSTALL_PLUGIN = "UninstallPlugin"; 257 constexpr const char* PLUGIN_BUNDLE_NAME = "pluginBundleName"; 258 259 // app_control 260 constexpr const char* TYPE_WANT = "want"; 261 constexpr const char* PERMISSION_DISPOSED_STATUS = "ohos.permission.MANAGE_DISPOSED_APP_STATUS"; 262 constexpr const char* SET_DISPOSED_STATUS = "SetDisposedStatus"; 263 constexpr const char* GET_DISPOSED_STATUS = "GetDisposedStatus"; 264 constexpr const char* DELETE_DISPOSED_STATUS = "DeleteDisposedStatus"; 265 constexpr const char* SET_DISPOSED_STATUS_SYNC = "SetDisposedStatusSync"; 266 constexpr const char* DELETE_DISPOSED_STATUS_SYNC = "DeleteDisposedStatusSync"; 267 constexpr const char* GET_DISPOSED_STATUS_SYNC = "GetDisposedStatusSync"; 268 constexpr const char* APP_ID = "appId"; 269 constexpr const char* APP_IDENTIFIER = "appIdentifier"; 270 constexpr const char* DISPOSED_WANT = "disposedWant"; 271 constexpr const char* DISPOSED_RULE = "disposedRule"; 272 constexpr const char* DISPOSED_RULE_TYPE = "DisposedRule"; 273 constexpr const char* UNINSTALL_DISPOSED_RULE = "uninstallDisposedRule"; 274 constexpr const char* UNINSTALL_DISPOSED_RULE_TYPE = "UninstallDisposedRule"; 275 constexpr const char* SET_UNINSTALL_DISPOSED_RULE = "SetUninstallDisposedRule"; 276 constexpr const char* DELETE_UNINSTALL_DISPOSED_RULE = "DeleteUninstallDisposedRule"; 277 constexpr const char* GET_UNINSTALL_DISPOSED_RULE = "GetUninstallDisposedRule"; 278 constexpr const char* SET_DISPOSED_RULE = "SetDisposedRule"; 279 constexpr const char* SET_DISPOSED_RULES = "SetDisposedRules"; 280 281 // default_app_manager 282 const std::unordered_map<std::string, std::string> TYPE_MAPPING = { 283 {"Web Browser", "BROWSER"}, 284 {"Image Gallery", "IMAGE"}, 285 {"Audio Player", "AUDIO"}, 286 {"Video Player", "VIDEO"}, 287 {"PDF Viewer", "PDF"}, 288 {"Word Viewer", "WORD"}, 289 {"Excel Viewer", "EXCEL"}, 290 {"PPT Viewer", "PPT"}, 291 {"Email", "EMAIL"} 292 }; 293 constexpr const char* IS_DEFAULT_APPLICATION = "IsDefaultApplication"; 294 constexpr const char* IS_DEFAULT_APPLICATION_SYNC = "IsDefaultApplicationSync"; 295 constexpr const char* GET_DEFAULT_APPLICATION = "GetDefaultApplication"; 296 constexpr const char* GET_DEFAULT_APPLICATION_SYNC = "GetDefaultApplicationSync"; 297 constexpr const char* SET_DEFAULT_APPLICATION = "SetDefaultApplication"; 298 constexpr const char* SET_DEFAULT_APPLICATION_SYNC = "SetDefaultApplicationSync"; 299 constexpr const char* RESET_DEFAULT_APPLICATION = "ResetDefaultApplication"; 300 constexpr const char* RESET_DEFAULT_APPLICATION_SYNC = "ResetDefaultApplicationSync"; 301 constexpr const char* TYPE_CHECK = "type"; 302 constexpr const char* WANT_CHECK = "want"; 303 } 304 } 305 } 306 #endif