diff options
author | 2018-06-22 18:55:46 +0900 | |
---|---|---|
committer | 2018-06-22 18:55:46 +0900 | |
commit | 0d2d2c9746c1a4dc052ee9b8db0602c085eb1039 (patch) | |
tree | 645a597338bcaada1f5da14d9d9775177f097965 | |
parent | ef588d4cb60daef7fb165e827e3552a0858932a8 (diff) |
Use class not struct for WindowManager
Change-Id: I2ccc98db5660fecf3a75a45774d29a226147bcfb
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r-- | src/controller_hooks.hpp | 2 | ||||
-rw-r--r-- | src/window_manager.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/controller_hooks.hpp b/src/controller_hooks.hpp index 8e6558a..5b272d7 100644 --- a/src/controller_hooks.hpp +++ b/src/controller_hooks.hpp @@ -28,7 +28,7 @@ struct WindowManager; struct controller_hooks { - struct WindowManager *app; + WindowManager *app; void surface_created(uint32_t surface_id); diff --git a/src/window_manager.hpp b/src/window_manager.hpp index bd3f701..cc189b5 100644 --- a/src/window_manager.hpp +++ b/src/window_manager.hpp @@ -134,9 +134,9 @@ struct id_allocator } }; -struct WindowManager +class WindowManager { - + public: typedef std::unordered_map<uint32_t, struct compositor::rect> rect_map; typedef std::function<void(const char *err_msg)> reply_func; |