X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fapplist.hpp;h=c31e4a2b16a8caa4a541a2f4e16cb2747d2117b6;hb=92cbe39df7b53208e15bea19e523570be915cf1e;hp=fef4d65f9abd3b191c29f9d2187f470a689972d6;hpb=741a9924776e40293b91eff00ec91d5a72f5da7f;p=apps%2Fagl-service-windowmanager.git diff --git a/src/applist.hpp b/src/applist.hpp index fef4d65..c31e4a2 100644 --- a/src/applist.hpp +++ b/src/applist.hpp @@ -50,14 +50,17 @@ class AppList 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); + unsigned surface, const std::string &role); + void addClient(const std::string &appid, unsigned layer, const std::string &role); void removeClient(const std::string &appid); bool contains(const std::string &appid) const; int countClient() const; std::shared_ptr lookUpClient(const std::string &appid); void removeSurface(unsigned surface); - std::string getAppID(unsigned surface, const std::string &role, bool *found) const; - WMError appendRole(const std::string &appid, const std::string &role, unsigned surface); + //std::string getAppID(unsigned surface, const std::string &role, bool *found) const; + std::string getAppID(unsigned surface, bool* found) const; + WMError appendRole(const std::string &appid, const std::string &role); + // Floating surface void addFloatingClient(const std::string &appid, unsigned layer, const std::string &role); @@ -71,7 +74,7 @@ class AppList unsigned getRequestNumber(const std::string &appid) const; unsigned addRequest(WMRequest req); WMError setAction(unsigned req_num, const struct WMAction &action); - WMError setAction(unsigned req_num, const std::string &appid, + WMError setAction(unsigned req_num, std::shared_ptr client, 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);