diff options
author | 2018-08-22 13:43:42 +0900 | |
---|---|---|
committer | 2018-08-22 14:04:23 +0900 | |
commit | c3291c967516a188789a860821471d8c872fbb47 (patch) | |
tree | 9a0af6b1e239d3486f750a04906473563dab6786 /src/applist.cpp | |
parent | 58da0c77b98af1b771e4af28b42d0a3ddec09877 (diff) |
Fix util function HMI_*
To reduce coding, change HMI_*
Change-Id: Ib28b6a3c2756253e665498e459f5e1e165095941
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/applist.cpp')
-rw-r--r-- | src/applist.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/applist.cpp b/src/applist.cpp index 0267eb7..391a3ce 100644 --- a/src/applist.cpp +++ b/src/applist.cpp @@ -82,7 +82,7 @@ void AppList::removeClient(const string &appid) { std::lock_guard<std::mutex> lock(this->mtx); this->app2client.erase(appid); - HMI_INFO("wm", "Remove client %s", appid.c_str()); + HMI_INFO("Remove client %s", appid.c_str()); } /** @@ -111,7 +111,7 @@ void AppList::removeSurface(unsigned surface){ { ret = x.second->removeSurfaceIfExist(surface); if(ret){ - HMI_DEBUG("wm", "remove surface %d from Client %s finish", + HMI_DEBUG("remove surface %d from Client %s finish", surface, x.second->appID().c_str()); break; } @@ -189,7 +189,7 @@ WMError AppList::popFloatingSurface(unsigned pid, unsigned *surface) }); if (fwd_itr != this->floating_surfaces.cend()) { - HMI_INFO("wm", "pop floating surface: %d", *surface); + HMI_INFO("pop floating surface: %d", *surface); } this->floating_surfaces.erase(fwd_itr, this->floating_surfaces.end()); return ret; @@ -199,7 +199,7 @@ WMError AppList::popFloatingSurface(unsigned pid, unsigned *surface) WMError AppList::popFloatingSurface(const string &appid, unsigned *surface) { - HMI_ERROR("wm", "This function is not implemented"); + HMI_ERROR("This function is not implemented"); return WMError::SUCCESS; } @@ -223,7 +223,7 @@ void AppList::removeFloatingSurface(unsigned surface) return x.surface_id == surface; }); if(fwd_itr != this->floating_surfaces.cend()){ - HMI_INFO("wm", "remove floating surface: %d", surface); + HMI_INFO("remove floating surface: %d", surface); } this->floating_surfaces.erase(fwd_itr, this->floating_surfaces.end()); } @@ -231,7 +231,7 @@ void AppList::removeFloatingSurface(unsigned surface) WMError AppList::appendRole(const string &id, const string &role, unsigned surface) { WMError wm_err = WMError::NO_ENTRY; - HMI_ERROR("wm", "This function is disabled"); + HMI_ERROR("This function is disabled"); /* if (this->contains(id)) { auto x = this->lookUpClient(id); |