aboutsummaryrefslogtreecommitdiffstats
path: root/src/window_manager.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-30 15:48:53 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-30 15:48:53 +0900
commit59844dbc6fd2676d69cba702a9c43ffbc625a5d5 (patch)
treef077da63579ac165afbe93ea187785ef224ba1cd /src/window_manager.hpp
parent3ebdf4e37dd3993a48ff73e8ae01325ec033eb1f (diff)
Hide variable into private
Change-Id: I372504c030cd69f6f6e667e2370860020431b900 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/window_manager.hpp')
-rw-r--r--src/window_manager.hpp42
1 files 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<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;
};