summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/src/policy_table/enums.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/policy/policy_external/src/policy_table/enums.cc')
-rw-r--r--src/components/policy/policy_external/src/policy_table/enums.cc10
1 files changed, 10 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 5628dd5729..6f60b43af9 100644
--- a/src/components/policy/policy_external/src/policy_table/enums.cc
+++ b/src/components/policy/policy_external/src/policy_table/enums.cc
@@ -1169,6 +1169,16 @@ bool EnumFromJsonString(const std::string& literal, FunctionID* result) {
return true;
}
+ if ("CreateWindow" == literal) {
+ *result = CreateWindowID;
+ return true;
+ }
+
+ if ("DeleteWindow" == literal) {
+ *result = DeleteWindowID;
+ return true;
+ }
+
if ("CloseApplication" == literal) {
*result = CloseApplicationID;
return true;