From 847dde9621cef9b9a44eda95c63c0fe3f528468d Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Mon, 25 Jun 2018 11:22:00 +0900 Subject: Rework: Window Manager handles by application To manage role, surface, layer ... and other info more easily, Window Manager handles info by application. WMClient class holds infomation of application. WMRequest class holds the request from application(trigger) and the action list judged by policy manager. The above info is in applist. *applist Hold client list. And hold request list which comes from application to get the right of displaying. *request The request from application and the Action judged from Policy Manager *client Application information which has surface, role and so on. *error Error code and error message. Integration patch is going to be pushed after this commit. Bug-AGL: SPEC-1509 Change-Id: I52b161701e22e316137dc42f073b118d164c1e28 Signed-off-by: Kazumasa Mitsunari --- src/app.hpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/app.hpp') diff --git a/src/app.hpp b/src/app.hpp index ab4e809..4dce828 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -69,7 +69,6 @@ struct id_allocator // Surfaces that where requested but not yet created std::unordered_map id2name; - // std::unordered_set pending_surfaces; std::unordered_map name2id; id_allocator(id_allocator const &) = delete; @@ -82,7 +81,6 @@ struct id_allocator { unsigned sid = this->next++; this->id2name[sid] = name; - // this->pending_surfaces.insert({sid}); this->name2id[name] = sid; HMI_DEBUG("wm", "allocated new id %u with name %s", sid, name.c_str()); return sid; -- cgit 1.2.3-korg