Remove unused headers
[apps/agl-service-windowmanager.git] / src / request.hpp
index 08c8fb0..6b2bda1 100644 (file)
 #include <string>
 #include <vector>
 
-namespace wm{
+namespace wm
+{
 
 enum Task
 {
     TASK_ALLOCATE,
-    TASK_RELEASE
+    TASK_RELEASE,
+    TASK_INVALID
+};
+
+enum TaskVisible
+{
+    VISIBLE,
+    INVISIBLE,
+    NO_CHANGE
 };
 
 struct WMTrigger
@@ -41,7 +50,7 @@ struct WMAction
     std::string appid;
     std::string role;
     std::string area;
-    bool visible;
+    TaskVisible visible;
     bool end_draw_finished;
 };
 
@@ -53,11 +62,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