summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external
diff options
context:
space:
mode:
authorShobhitAd <adlakhshobhit@gmail.com>2018-11-13 11:08:06 -0500
committerShobhitAd <adlakhshobhit@gmail.com>2018-11-13 11:08:06 -0500
commitc9d1e934396dabd1c8604e1884d86882247e4ba1 (patch)
treecd3867f7ecf38bde7b486be6919fd8082ab0f1ab /src/components/policy/policy_external
parent21cfc65da3b1a9e0d66a13884a6b2e067e0e590b (diff)
downloadsdl_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.h5
-rw-r--r--src/components/policy/policy_external/src/policy_table/enums.cc5
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;