diff options
author | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-06-15 20:40:22 +0900 |
---|---|---|
committer | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-06-15 20:40:22 +0900 |
commit | 36098a64cf5bcac3d721f126e3d809674badc110 (patch) | |
tree | 449e95a62f881d82ee55d0de5ffdaed95462e636 /src/app.hpp | |
parent | 172c4fb3d449b908baff3111fd171b42935fbb4f (diff) |
Modify format of layout information and process for updating layout
and delete unnecessary process
Change-Id: I266cbc684c28b49d9855db851a56afbff3588b35
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app.hpp b/src/app.hpp index ea5ac36..68214b3 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -251,6 +251,8 @@ struct App { void updateWindowResource(json_object* json_out); private: + typedef std::map<std::string, std::string> RoleState; + PolicyManager pm_; LayoutManager lm_; std::unordered_map<std::string, int> role2surfaceid_; @@ -258,8 +260,8 @@ private: std::unordered_map<std::string, std::string> role2drawingname_; std::unordered_map<int, int> appid2role_; CarInfo crr_car_info_; + std::map<std::string, RoleState> crr_layer_state; - int allocateSurface(); void setSurfaceSize(const char* role, const char* area); int loadAppDb(); const char* convertDrawingNameToRole(char const *drawing_name); |