diff options
author | JackLivio <jack@livio.io> | 2019-01-30 14:11:12 -0500 |
---|---|---|
committer | JackLivio <jack@livio.io> | 2019-01-30 14:11:12 -0500 |
commit | 59e638c2ae6722b07e70423eff9d3eb44c9581bb (patch) | |
tree | b83d53c524baf51b94c49c15800f840a29e13cc1 /src/components/policy/policy_external | |
parent | 2f5fe1b89dc6d15fb9bb2e42083db23edf3de276 (diff) | |
parent | c0bc15dbfcf78eaa3bcecb34b28fe98a5c9a1757 (diff) | |
download | sdl_core-59e638c2ae6722b07e70423eff9d3eb44c9581bb.tar.gz |
Merge remote-tracking branch 'origin/feature/base_app_services_implementation' into feature/app_service_policies
Diffstat (limited to 'src/components/policy/policy_external')
-rw-r--r-- | src/components/policy/policy_external/include/policy/policy_table/enums.h | 5 | ||||
-rw-r--r-- | src/components/policy/policy_external/src/policy_table/enums.cc | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/components/policy/policy_external/include/policy/policy_table/enums.h b/src/components/policy/policy_external/include/policy/policy_table/enums.h index 5b494629bb..0b571823f9 100644 --- a/src/components/policy/policy_external/include/policy/policy_table/enums.h +++ b/src/components/policy/policy_external/include/policy/policy_table/enums.h @@ -446,6 +446,11 @@ enum FunctionID { SetCloudAppPropertiesID = 50, /** + * @brief PublishAppServiceID + */ + PublishAppServiceID = 52, + + /** * @brief OnHMIStatusID. */ OnHMIStatusID = 32768, diff --git a/src/components/policy/policy_external/src/policy_table/enums.cc b/src/components/policy/policy_external/src/policy_table/enums.cc index d7d5a241de..72dd7aea72 100644 --- a/src/components/policy/policy_external/src/policy_table/enums.cc +++ b/src/components/policy/policy_external/src/policy_table/enums.cc @@ -1126,6 +1126,11 @@ bool EnumFromJsonString(const std::string& literal, FunctionID* result) { return true; } + if ("PublishAppService" == literal) { + *result = PublishAppServiceID; + return true; + } + if ("OnHMIStatus" == literal) { *result = OnHMIStatusID; return true; |