Rename struct name App to WindowManager
[apps/agl-service-windowmanager.git] / src / applist.cpp
index b947518..a5ae9f0 100644 (file)
@@ -111,7 +111,8 @@ void AppList::removeSurface(unsigned surface){
     {
         ret = x.second->removeSurfaceIfExist(surface);
         if(ret){
-            HMI_DEBUG("wm", "remove surface %d from Client %s finish", surface, x.second->appID().c_str());
+            HMI_DEBUG("wm", "remove surface %d from Client %s finish",
+                        surface, x.second->appID().c_str());
             break;
         }
     }
@@ -225,7 +226,7 @@ unsigned AppList::getRequestNumber(const string &appid) const
  * @attention If the request number is different with curent request number,
  *            it means the previous request is not finished.
  */
-unsigned AppList::addAllocateRequest(WMRequest req)
+unsigned AppList::addRequest(WMRequest req)
 {
     std::lock_guard<std::mutex> lock(this->mtx);
     if (this->req_list.size() == 0)