Change API in applist
[apps/agl-service-windowmanager.git] / src / request.hpp
index cad340e..ded2c02 100644 (file)
 #include <string>
 #include <vector>
 
-namespace wm{
+namespace wm
+{
 
 enum Task
 {
     TASK_ALLOCATE,
-    TASK_RELEASE
+    TASK_RELEASE,
+    TASK_INVALID
 };
 
 struct WMTrigger
@@ -41,6 +43,7 @@ struct WMAction
     std::string appid;
     std::string role;
     std::string area;
+    bool visible;
     bool end_draw_finished;
 };
 
@@ -52,11 +55,11 @@ struct WMRequest
     virtual ~WMRequest();
     WMRequest(const WMRequest &obj);
 
-    unsigned seq_num;
+    unsigned req_num;
     struct WMTrigger trigger;
     std::vector<struct WMAction> sync_draw_req;
 };
 
-}
+} // namespace wm
 
 #endif //WMREQUEST_HPP
\ No newline at end of file