Hide variable into private
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Thu, 30 Aug 2018 06:48:53 +0000 (15:48 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Thu, 30 Aug 2018 06:48:53 +0000 (15:48 +0900)
Change-Id: I372504c030cd69f6f6e667e2370860020431b900
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/window_manager.hpp

index 3bf62c2..dc97871 100644 (file)
@@ -169,29 +169,6 @@ class WindowManager
         Event_Val_Max = Event_Error,
     };
 
-    const std::vector<const char *> 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<const char *, struct afb_event> map_afb_event;
-
-    // Surface are info (x, y, w, h)
-    rect_map area_info;
-
-    // FOR CES DEMO
-    std::vector<int> surface_bg;
-
     explicit WindowManager();
     ~WindowManager() = default;
 
@@ -228,6 +205,17 @@ class WindowManager
     void startTransitionWrapper(std::vector<WMAction> &actions);
     void processError(WMError error);
 
+    const std::vector<const char *> kListEventName{
+        "active",
+        "inactive",
+        "visible",
+        "invisible",
+        "syncDraw",
+        "flushDraw",
+        "screenUpdated",
+        "error"};
+    std::map<const char *, struct afb_event> 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<LayerControl> 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<int> surface_bg;
+
     static const char* kDefaultOldRoleDb;
 };