X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Frequest.hpp;h=6b2bda1931e64011022e5eca9d5152062e8bfa65;hb=8f32cd03059507c6b5bf3d26aaeb851c21d0437e;hp=cad340ee8a6cced29406edf03081e38b964073aa;hpb=45ff324610e21ffd0292bdd1e39726c808a41725;p=apps%2Fagl-service-windowmanager.git diff --git a/src/request.hpp b/src/request.hpp index cad340e..6b2bda1 100644 --- a/src/request.hpp +++ b/src/request.hpp @@ -20,12 +20,21 @@ #include #include -namespace wm{ +namespace wm +{ enum Task { TASK_ALLOCATE, - TASK_RELEASE + TASK_RELEASE, + TASK_INVALID +}; + +enum TaskVisible +{ + VISIBLE, + INVISIBLE, + NO_CHANGE }; struct WMTrigger @@ -41,6 +50,7 @@ struct WMAction std::string appid; std::string role; std::string area; + TaskVisible visible; bool end_draw_finished; }; @@ -52,11 +62,11 @@ struct WMRequest virtual ~WMRequest(); WMRequest(const WMRequest &obj); - unsigned seq_num; + unsigned req_num; struct WMTrigger trigger; std::vector sync_draw_req; }; -} +} // namespace wm #endif //WMREQUEST_HPP \ No newline at end of file