diff options
author | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-05-25 11:53:43 +0900 |
---|---|---|
committer | Yuta Doi <yuta-d@witz-inc.co.jp> | 2018-05-25 11:53:43 +0900 |
commit | 74c30fd86597fb6b5d13a83dea3341b9bb9e903e (patch) | |
tree | 6d1be75e8ae84b8e5c615bdc1a03d355777299bd /src/app.hpp | |
parent | 0d8271eb4526a430f7ad718b4d2a9f961c09c18a (diff) |
Delete label "role" for the API activateSurface and deactivateSurface
Change-Id: Ia59c0f3ad9d44e0836520abc50419d0be006acdf
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app.hpp b/src/app.hpp index 590b23a..2cc6fa8 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -234,8 +234,7 @@ struct App { result<int> api_request_surface(char const *drawing_name); char const *api_request_surface(char const *drawing_name, char const *ivi_id); void allocateWindowResource(char const *event, char const *drawing_name, - char const *role, char const *drawing_area, - const reply_func &reply); + char const *drawing_area, const reply_func &reply); void api_enddraw(char const *drawing_name); result<json_object *> api_get_display_info(); result<json_object *> api_get_area_info(char const *drawing_name); @@ -255,7 +254,7 @@ private: PolicyManager pm_; LayoutManager lm_; std::unordered_map<std::string, int> role2surfaceid_; - std::unordered_map<std::string, std::string> app2role_; + std::unordered_map<std::string, std::string> drawingname2role_; std::unordered_map<std::string, std::string> role2app_; std::unordered_map<int, int> appid2role_; CarInfo crr_car_info_; @@ -263,6 +262,7 @@ private: int allocateSurface(); void setSurfaceSize(const char* role, const char* area); int loadAppDb(); + const char* convertDrawingNameToRole(char const *drawing_name); #if 0 struct id_allocator app_id_alloc_; |