Code Review
/
apps
/
agl-service-windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Rename struct name App to WindowManager
[apps/agl-service-windowmanager.git]
/
src
/
applist.cpp
diff --git
a/src/applist.cpp
b/src/applist.cpp
index
b947518
..
a5ae9f0
100644
(file)
--- a/
src/applist.cpp
+++ b/
src/applist.cpp
@@
-111,7
+111,8
@@
void AppList::removeSurface(unsigned surface){
{
ret = x.second->removeSurfaceIfExist(surface);
if(ret){
{
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;
}
}
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.
*/
* @attention If the request number is different with curent request number,
* it means the previous request is not finished.
*/
-unsigned AppList::add
Allocate
Request(WMRequest req)
+unsigned AppList::addRequest(WMRequest req)
{
std::lock_guard<std::mutex> lock(this->mtx);
if (this->req_list.size() == 0)
{
std::lock_guard<std::mutex> lock(this->mtx);
if (this->req_list.size() == 0)