From ceb1049ca57b0fd0ce41e9eca631557ffa46993a Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Thu, 20 Dec 2018 10:34:08 +0900 Subject: Introduce changeAreaSize and getAreaList In CES2019 demo, these features are introduced in demo3. 1. changeAreaSize : change area definition on runtime 2. getAreaList : get area definition list v2. fix merge conflict util.hpp util.cpp Bug-AGL : SPEC-2077 Change-Id: I1fa3c9e3648c69e14a3916cbeeb9775ed94c833a Signed-off-by: Kazumasa Mitsunari --- src/util.hpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/util.hpp') diff --git a/src/util.hpp b/src/util.hpp index 36e556c..9540772 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -20,6 +20,7 @@ #include #include +#include #include #include @@ -121,4 +122,15 @@ class rectangle // Configuration file path helper std::string get_file_path(const char *file_name, const char *root_path = NULL); -#endif // !WM_UTIL_HPP +typedef struct ChangeAreaReq { + std::string appname; + std::unordered_map area_req; + bool save; + std::unordered_map update_app2area; + ChangeAreaReq() = default; + ~ChangeAreaReq() = default; + ChangeAreaReq(const ChangeAreaReq& val) = default; + void dump(); +} ChangeAreaReq; + +#endif // WM_UTIL_HPP -- cgit 1.2.3-korg