X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fapplist.hpp;h=a794b532c8072cab37f1aedcafd93fa6b9987b5d;hb=5562332f0f7e916d4da13eab5e2b01ccdfb184ac;hp=6305a4bc96f6398ba1172fc4dcf5c48e3ef7a33a;hpb=aa14c646b5813e09e1e1d1f4cb6da856bf00b886;p=apps%2Fagl-service-windowmanager.git diff --git a/src/applist.hpp b/src/applist.hpp index 6305a4b..a794b53 100644 --- a/src/applist.hpp +++ b/src/applist.hpp @@ -42,7 +42,8 @@ class AppList /* TODO: consider, which is better WMClient as parameter or not If the WMClient should be more flexible, I think this param should be WMClient class */ - void addClient(const std::string &appid, unsigned layer, unsigned surface, const std::string &role); + void addClient(const std::string &appid, unsigned layer, + unsigned surface,const std::string &role); void removeClient(const std::string &appid); bool contains(const std::string &appid) const; int countClient() const; @@ -53,9 +54,10 @@ class AppList // Request Interface unsigned currentRequestNumber() const; unsigned getRequestNumber(const std::string &appid) const; - unsigned addAllocateRequest(WMRequest req); + unsigned addRequest(WMRequest req); WMError setAction(unsigned req_num, const struct WMAction &action); - WMError setAction(unsigned req_num, const std::string &appid, const std::string &role, const std::string &area, bool visible = true); + WMError setAction(unsigned req_num, const std::string &appid, + const std::string &role, const std::string &area, TaskVisible visible); bool setEndDrawFinished(unsigned req_num, const std::string &appid, const std::string &role); bool endDrawFullfilled(unsigned req_num); void removeRequest(unsigned req_num);