aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer_control.hpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-11-30 15:04:14 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-11-30 15:04:14 +0900
commitd3eb924dde663e971656d277cd3ac596372bbc70 (patch)
tree07f9d99060423e54de68d22c7bcd9962b27299de /src/wm_layer_control.hpp
parentc1d5b18cd9d3318c5dcc2a071a7250f8ab74745c (diff)
Add 2 APIs
* getAreaList * changeAreaSize
Diffstat (limited to 'src/wm_layer_control.hpp')
-rw-r--r--src/wm_layer_control.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp
index fef71ff..63362df 100644
--- a/src/wm_layer_control.hpp
+++ b/src/wm_layer_control.hpp
@@ -79,6 +79,10 @@ class LayerControl
void undoUpdate();
WMError layoutChange(const WMAction& action);
WMError visibilityChange(const WMAction &action);
+ const std::unordered_map<std::string, struct rect>& getAreaList() {return this->area2size;}
+ WMError updateAreaList(const ChangeAreaReq& req);
+ WMError getUpdateAreaList(ChangeAreaReq* req);
+ WMError changeAreaSize(std::shared_ptr<WMClient> client, const std::string& area);
void appTerminated(const std::shared_ptr<WMClient> client);
// Don't use this function.