From 45ff324610e21ffd0292bdd1e39726c808a41725 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Tue, 29 May 2018 15:47:21 +0900 Subject: pull out request from applist Change-Id: Iea9270d9e8c0d358a0f964048167bba5d8000829 Signed-off-by: Kazumasa Mitsunari --- src/applist.hpp | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'src/applist.hpp') diff --git a/src/applist.hpp b/src/applist.hpp index f91e7c8..e0d67fc 100644 --- a/src/applist.hpp +++ b/src/applist.hpp @@ -22,45 +22,13 @@ #include //#include #include "windowmanager-client.hpp" +#include "request.hpp" namespace wm { /* using std::experimental::nullopt; using std::experimental::optional; */ -typedef enum Task{ - TASK_ALLOCATE, - TASK_RELEASE -}ResourceTask; - -struct WMTrigger { - std::string appid; - std::string role; - std::string area; - Task task; -}; - -struct WMAction -{ - std::string appid; - std::string role; - std::string area; - bool end_draw_finished; -}; - -struct WMRequest -{ - WMRequest(); - explicit WMRequest(std::string appid, std::string role, - std::string area, ResourceTask task); - virtual ~WMRequest(); - WMRequest(const WMRequest &obj); - - unsigned seq_num; - struct WMTrigger trigger; - std::vector sync_draw_req; -}; - class AppList { public: AppList(); -- cgit 1.2.3-korg