diff options
author | Ira Lytvynenko <ILytvynenko@luxoft.com> | 2018-02-27 12:55:10 +0200 |
---|---|---|
committer | Ira Lytvynenko (GitHub) <ILytvynenko@luxoft.com> | 2018-06-26 13:47:19 +0300 |
commit | 0a3ec8354c9100b9492a3ecc16c61a498549b2f3 (patch) | |
tree | a5418832ddc38089c798206706ecc0ce81aca50f /src/components/policy/policy_external/src | |
parent | 22d3d2e92cb084d4987e52f148b1328e7a843952 (diff) | |
download | sdl_core-0a3ec8354c9100b9492a3ecc16c61a498549b2f3.tar.gz |
New RC module SEAT
Diffstat (limited to 'src/components/policy/policy_external/src')
-rw-r--r-- | src/components/policy/policy_external/src/policy_table/enums.cc | 7 |
1 files changed, 7 insertions, 0 deletions
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 5a9e403053..43c26eb12e 100644 --- a/src/components/policy/policy_external/src/policy_table/enums.cc +++ b/src/components/policy/policy_external/src/policy_table/enums.cc @@ -764,6 +764,8 @@ bool IsValidEnum(ModuleType val) { return true; case MT_RADIO: return true; + case MT_SEAT: + return true; default: return false; } @@ -774,6 +776,8 @@ const char* EnumToJsonString(ModuleType val) { return "CLIMATE"; case MT_RADIO: return "RADIO"; + case MT_SEAT: + return "SEAT"; default: return ""; } @@ -786,6 +790,9 @@ bool EnumFromJsonString(const std::string& literal, ModuleType* result) { } else if ("RADIO" == literal) { *result = MT_RADIO; return true; + } else if ("SEAT" == literal) { + *result = MT_SEAT; + return true; } else { return false; } |