Add terminate process for layer_control
[apps/agl-service-windowmanager.git] / src / request.hpp
index 84973de..073dd27 100644 (file)
@@ -24,6 +24,8 @@
 namespace wm
 {
 
+class WMClient;
+
 enum Task
 {
     TASK_ALLOCATE,
@@ -48,13 +50,12 @@ struct WMTrigger
 
 struct WMAction
 {
-    std::string appid;
+    unsigned req_num;
+    std::shared_ptr<WMClient> client;
     std::string role;
     std::string area;
     TaskVisible visible;
     bool end_draw_finished;
-    std::shared_ptr<WMAction> client;
-    unsigned req_num;
 };
 
 struct WMRequest