diff options
author | 2018-08-31 18:39:43 +0900 | |
---|---|---|
committer | 2018-08-31 18:39:43 +0900 | |
commit | 4447dae31184c2f98022364abeb2b8d943cad302 (patch) | |
tree | 58023082ace1455cb9807c2ce873bc0e2e95b152 /src | |
parent | 915faae5e2901f2112a680586582a282c44dc401 (diff) |
Add initialize code
Change-Id: I3854f91eab6c56f92bf1fdb75a61f587bc6a47c4
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src')
-rw-r--r-- | src/window_manager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp index 34115f7..746ab17 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -130,6 +130,8 @@ WindowManager::WindowManager() this->lc = std::make_shared<LayerControl>(root); + HMI_DEBUG("Layer Controller initialized"); + /* try { { @@ -166,6 +168,9 @@ int WindowManager::init() // TODO: application requests by old role, // so create role map (old, new) // Load old_role.db + LayerControlCallbacks lmcb; + lmcb.surfaceCreated = [this](unsigned surface){HMI_DEBUG("show %d", surface);}; + this->lc->init(lmcb); this->loadOldRoleDb(); // Store my context for calling callback from PolicyManager |