diff options
author | ShobhitAd <adlakhshobhit@gmail.com> | 2018-11-13 11:08:06 -0500 |
---|---|---|
committer | ShobhitAd <adlakhshobhit@gmail.com> | 2018-11-13 11:08:06 -0500 |
commit | c9d1e934396dabd1c8604e1884d86882247e4ba1 (patch) | |
tree | cd3867f7ecf38bde7b486be6919fd8082ab0f1ab /src/components/policy/policy_external | |
parent | 21cfc65da3b1a9e0d66a13884a6b2e067e0e590b (diff) | |
download | sdl_core-c9d1e934396dabd1c8604e1884d86882247e4ba1.tar.gz |
Implement RPC in regular and external 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 dc2fdab2fa..982118a43a 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 @@ -441,6 +441,11 @@ enum FunctionID { SendHapticDataID = 49, /** + * @brief SetCloudAppPropertiesID. + */ + SetCloudAppPropertiesID = 50, + + /** * @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 48ce4d4f72..fac3cb86a1 100644 --- a/src/components/policy/policy_external/src/policy_table/enums.cc +++ b/src/components/policy/policy_external/src/policy_table/enums.cc @@ -1120,6 +1120,11 @@ bool EnumFromJsonString(const std::string& literal, FunctionID* result) { *result = SendHapticDataID; return true; } + + if("SetCloudAppProperties" == literal){ + *result = SetCloudAppPropertiesID; + return true; + } if ("OnHMIStatus" == literal) { *result = OnHMIStatusID; |