X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fapplist.hpp;h=b4ac9e0b4367ee00588a7a52eae3cd19e088d065;hb=refs%2Fheads%2Fsandbox%2Fknimitz%2Fset_role_pid_ver;hp=36134a2a853e50ef42df5d4d0c641b30e7c12da8;hpb=17dd59f6fbc3deead5ce85006fb79aa9845bbdb4;p=apps%2Fagl-service-windowmanager.git diff --git a/src/applist.hpp b/src/applist.hpp index 36134a2..b4ac9e0 100644 --- a/src/applist.hpp +++ b/src/applist.hpp @@ -61,8 +61,7 @@ class AppList void removeFloatingSurface(unsigned surface); // Request Interface - unsigned - currentRequestNumber() const; + unsigned currentRequestNumber() const; unsigned getRequestNumber(const std::string &appid) const; unsigned addAllocateRequest(WMRequest req); /* TODO: consider, which is better WMClient or std::string appid? @@ -76,11 +75,12 @@ class AppList void next(); bool haveRequest() const; - struct WMTrigger getRequest(unsigned req_num); - const std::vector &getActions(unsigned req_num); + struct WMTrigger getRequest(unsigned req_num, bool* found); + const std::vector &getActions(unsigned req_num, bool* found); void clientDump(); void reqDump(); + void dumpFloatingSurfaces(); private: std::vector req_list;