X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwm_layer.cpp;h=813684ae8e49dd3946c24b9ac1e2943e575768a1;hb=5d36c79042c3f513392cb765940252acb860b7a9;hp=87fff498e6ee72dd543aa415948541f12063034c;hpb=621314943d21cdb3b7e51a4c3d0faefc44658a11;p=apps%2Fagl-service-windowmanager.git diff --git a/src/wm_layer.cpp b/src/wm_layer.cpp index 87fff49..813684a 100644 --- a/src/wm_layer.cpp +++ b/src/wm_layer.cpp @@ -17,9 +17,8 @@ #include #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; }