diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2019-02-05 14:55:06 -0500 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2019-02-05 14:55:06 -0500 |
commit | 35db01e868d559fe4395f2e6c6709d22a862b8a1 (patch) | |
tree | fa7497a279ec1f2bf3983800bbae92843057c8cd /src/components/policy/policy_external | |
parent | 000a8e84cbae684537b2edbd34716923e418d938 (diff) | |
download | sdl_core-35db01e868d559fe4395f2e6c6709d22a862b8a1.tar.gz |
Address review comments.
Diffstat (limited to 'src/components/policy/policy_external')
-rw-r--r-- | src/components/policy/policy_external/include/policy/policy_table/enums.h | 7 | ||||
-rw-r--r-- | src/components/policy/policy_external/src/policy_table/enums.cc | 5 |
2 files changed, 11 insertions, 1 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 0b571823f9..094e5cc7c6 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,7 +446,7 @@ enum FunctionID { SetCloudAppPropertiesID = 50, /** - * @brief PublishAppServiceID + * @brief PublishAppServiceID. */ PublishAppServiceID = 52, @@ -541,6 +541,11 @@ enum FunctionID { OnRCStatusID = 32785, /** + * @brief OnAppServiceDataID. + */ + OnAppServiceDataID = 32786, + + /** * @brief EncodedSyncPDataID. */ EncodedSyncPDataID = 65536, 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 72dd7aea72..2260d7e320 100644 --- a/src/components/policy/policy_external/src/policy_table/enums.cc +++ b/src/components/policy/policy_external/src/policy_table/enums.cc @@ -1221,6 +1221,11 @@ bool EnumFromJsonString(const std::string& literal, FunctionID* result) { return true; } + if ("OnAppServiceData" == literal) { + *result = OnAppServiceDataID; + return true; + } + if ("EncodedSyncPData" == literal) { *result = EncodedSyncPDataID; return true; |