diff --git a/interfaces/kits/js/distributedBundle/distributed_helper.h b/interfaces/kits/js/distributedBundle/distributed_helper.h index 819b2f7f63b5a77f0971585960daa3a668f94f9f..3362c4dc0624d25f2ebd66ed858e884c3c2c5e45 100644 --- a/interfaces/kits/js/distributedBundle/distributed_helper.h +++ b/interfaces/kits/js/distributedBundle/distributed_helper.h @@ -21,6 +21,12 @@ namespace OHOS { namespace AppExecFwk { +namespace { +constexpr int32_t GET_REMOTE_ABILITY_INFO_MAX_SIZE = 10; +constexpr const char* RESOURCE_NAME_GET_REMOTE_ABILITY_INFO = "GetRemoteAbilityInfo"; +constexpr const char* PARAMETER_ELEMENT_NAME = "elementName"; +constexpr const char* PARAMETER_LOCALE = "locale"; +} class DistributedHelper { public: static int32_t InnerGetRemoteAbilityInfo(const std::vector &elementNames, const std::string &locale,