diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-05-29 15:47:21 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-05-29 15:47:21 +0900 |
commit | 45ff324610e21ffd0292bdd1e39726c808a41725 (patch) | |
tree | 76974f535c4ed021b8e7dc024b016719712cb4d1 /src/applist.hpp | |
parent | 943beb60bcfb31c7bceeb90836ab3bea3aaa135a (diff) |
pull out request from applist
Change-Id: Iea9270d9e8c0d358a0f964048167bba5d8000829
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/applist.hpp')
-rw-r--r-- | src/applist.hpp | 34 |
1 files changed, 1 insertions, 33 deletions
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 <memory> //#include <experimental/optional> #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<struct WMAction> sync_draw_req; -}; - class AppList { public: AppList(); |