From: Kazumasa Mitsunari Date: Thu, 30 Aug 2018 06:48:53 +0000 (+0900) Subject: Hide variable into private X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=59844dbc6fd2676d69cba702a9c43ffbc625a5d5;p=apps%2Fagl-service-windowmanager-2017.git Hide variable into private Change-Id: I372504c030cd69f6f6e667e2370860020431b900 Signed-off-by: Kazumasa Mitsunari --- diff --git a/src/window_manager.hpp b/src/window_manager.hpp index 3bf62c2..dc97871 100644 --- a/src/window_manager.hpp +++ b/src/window_manager.hpp @@ -169,29 +169,6 @@ class WindowManager Event_Val_Max = Event_Error, }; - const std::vector kListEventName{ - "active", - "inactive", - "visible", - "invisible", - "syncDraw", - "flushDraw", - "screenUpdated", - "error"}; - - struct controller_hooks chooks; - - // ID allocation and proxy methods for lookup - struct id_allocator id_alloc; - - std::map map_afb_event; - - // Surface are info (x, y, w, h) - rect_map area_info; - - // FOR CES DEMO - std::vector surface_bg; - explicit WindowManager(); ~WindowManager() = default; @@ -228,6 +205,17 @@ class WindowManager void startTransitionWrapper(std::vector &actions); void processError(WMError error); + const std::vector kListEventName{ + "active", + "inactive", + "visible", + "invisible", + "syncDraw", + "flushDraw", + "screenUpdated", + "error"}; + std::map map_afb_event; + private: int init_layers(); void surface_set_layout(int surface_id, const std::string& area = ""); @@ -272,6 +260,14 @@ class WindowManager std::shared_ptr lc; PMWrapper pmw; + struct controller_hooks chooks; + // ID allocation and proxy methods for lookup + struct id_allocator id_alloc; + // Surface are info (x, y, w, h) + rect_map area_info; + // FOR CES DEMO + std::vector surface_bg; + static const char* kDefaultOldRoleDb; };