From 59844dbc6fd2676d69cba702a9c43ffbc625a5d5 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Thu, 30 Aug 2018 15:48:53 +0900 Subject: Hide variable into private Change-Id: I372504c030cd69f6f6e667e2370860020431b900 Signed-off-by: Kazumasa Mitsunari --- src/window_manager.hpp | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) 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; }; -- cgit 1.2.3-korg