aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.hpp')
-rw-r--r--src/app.hpp6
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_;