Start to rework using ilmControl
[apps/agl-service-windowmanager.git] / src / wm_layer.cpp
index 87fff49..813684a 100644 (file)
@@ -17,9 +17,8 @@
 #include <regex>
 
 #include "wm_layer.hpp"
-#include "wayland_ivi_wm.hpp"
 #include "json_helper.hpp"
-#include "hmi-debug.h"
+#include "util.hpp"
 
 using std::string;
 using std::vector;
@@ -58,19 +57,19 @@ unsigned LayerSetting::getNewLayerID(const string& role)
     }
     // generate new ivi layer id
     ret = id_list.back() + 1;
-    HMI_INFO("wm", "generate ivi_layer_id : %d on the layer: %s", ret, this->name.c_str());
+    HMI_INFO("generate ivi_layer_id : %d on the layer: %s", ret, this->name.c_str());
 
     auto id_found = std::find(id_list.begin(), id_list.end(), ret);
     if( (ret > this->idEnd()) || (id_found != id_list.cend()) )
     {
-        HMI_NOTICE("wm", "id %d is not available then generate new id", ret);
+        HMI_NOTICE("id %d is not available then generate new id", ret);
         ret = 0;
         for(unsigned i = this->idBegin(); i < this->idEnd(); i++)
         {
             auto ret_found = std::find(id_list.begin(), id_list.end(), i);
             if(ret_found == id_list.cend())
             {
-                HMI_INFO("wm", "set new id: %d", i);
+                HMI_INFO("set new id: %d", i);
                 ret = i;
                 break;
             }
@@ -83,7 +82,7 @@ unsigned LayerSetting::getNewLayerID(const string& role)
     }
     else
     {
-        HMI_ERROR("wm", "failed to get New ID");
+        HMI_ERROR("failed to get New ID");
     }
     return ret;
 }