mirror of
https://gitee.com/openharmony/bundlemanager_bundle_framework
synced 2024-11-23 15:20:24 +00:00
add form type Signed-off-by: zhaoyuan <zhaoyuan17@huawei.com>
This commit is contained in:
parent
9de148fb17
commit
93211dbf06
@ -29,6 +29,7 @@ enum class AbilityType {
|
||||
PAGE,
|
||||
SERVICE,
|
||||
DATA,
|
||||
FORM,
|
||||
};
|
||||
|
||||
enum class AbilitySubType {
|
||||
|
@ -29,7 +29,7 @@ namespace ProfileReader {
|
||||
|
||||
thread_local int32_t parseResult;
|
||||
const std::map<std::string, AbilityType> ABILITY_TYPE_MAP = {
|
||||
{"page", AbilityType::PAGE}, {"service", AbilityType::SERVICE}, {"data", AbilityType::DATA}};
|
||||
{"page", AbilityType::PAGE}, {"service", AbilityType::SERVICE}, {"data", AbilityType::DATA}}, {"form", AbilityType::FORM};
|
||||
const std::map<std::string, DisplayOrientation> DISPLAY_ORIENTATION_MAP = {
|
||||
{"unspecified", DisplayOrientation::UNSPECIFIED},
|
||||
{"landscape", DisplayOrientation::LANDSCAPE},
|
||||
|
Loading…
Reference in New Issue
Block a user