diff options
author | 2018-05-25 11:53:43 +0900 | |
---|---|---|
committer | 2018-05-25 11:56:22 +0900 | |
commit | 26557a931e330a3ce92d241dcb275a49b66afa10 (patch) | |
tree | 1aa0442defcf1ac0420de8521278ab5352edcb75 /src/app.hpp | |
parent | 0f4fc9687b78340eb99d9dc0d1890cc063735247 (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 557ea78..f6b809a 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); @@ -254,7 +253,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_; @@ -262,6 +261,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_; |