diff options
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(); |