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/wm_layer_control.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wm_layer_control.hpp') diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp index 25d71fd..68acd66 100644 --- a/src/wm_layer_control.hpp +++ b/src/wm_layer_control.hpp @@ -76,6 +76,10 @@ class LayerControl void undoUpdate(); WMError layoutChange(const WMAction& action); WMError visibilityChange(const WMAction &action); + const std::unordered_map& getAreaList() {return this->area2size;} + WMError updateAreaList(const ChangeAreaReq& req); + WMError getUpdateAreaList(ChangeAreaReq* req); + WMError changeAreaSize(std::shared_ptr client, const std::string& area); void appTerminated(const std::shared_ptr client); // Don't use this function. -- cgit 1.2.3-korg