summaryrefslogtreecommitdiffstats
path: root/src/wm_client.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-12-20 10:34:08 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2019-01-25 13:36:37 +0900
commitceb1049ca57b0fd0ce41e9eca631557ffa46993a (patch)
treee3627816bb290a727f1da1ccf53e6f9043821f33 /src/wm_client.hpp
parenta33cbe3e083318a4f48d44a645ee24447536e3a6 (diff)
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 <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wm_client.hpp')
-rw-r--r--src/wm_client.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wm_client.hpp b/src/wm_client.hpp
index 99ae499..3ffa786 100644
--- a/src/wm_client.hpp
+++ b/src/wm_client.hpp
@@ -48,6 +48,8 @@ class WMClient
unsigned layerID() const;
unsigned surfaceID() const;
void registerSurface(unsigned surface);
+ std::string area() const {return this->app_area;};
+ void setArea(const std::string area) {this->app_area = area;}
WMError addSurface(unsigned surface);
bool isSourceSizeSet();
void setSurfaceSizeCorrectly();
@@ -67,7 +69,7 @@ class WMClient
unsigned layer;
bool is_source_set;
std::string main_role;
- std::string area;
+ std::string app_area;
unsigned surface; // currently, main application has only one surface.
//std::vector<std::string> role_list;
std::unordered_map<std::string, unsigned> role2surface;