diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-10-15 19:27:28 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-10-15 19:27:28 +0900 |
commit | 7526846697e4485bca995f01a130f5e34a40b690 (patch) | |
tree | b29e459600864bbdec00e2a4f26326a3a35d5b68 /src/request.hpp | |
parent | 3621896847fba3b793b998262eb66ae43cee93ff (diff) |
Include WMClient into WMRequest
Policy Manager has to know
*who* requests *which role* with *which role*.
So for improvement of usability of WMRequest instead of appid.
Change-Id: I452b2995922e8e303732e8e79f4f06930553b3e7
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/request.hpp')
-rw-r--r-- | src/request.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/request.hpp b/src/request.hpp index 6b2bda1..073dd27 100644 --- a/src/request.hpp +++ b/src/request.hpp @@ -19,10 +19,13 @@ #include <string> #include <vector> +#include <memory> namespace wm { +class WMClient; + enum Task { TASK_ALLOCATE, @@ -47,7 +50,8 @@ struct WMTrigger struct WMAction { - std::string appid; + unsigned req_num; + std::shared_ptr<WMClient> client; std::string role; std::string area; TaskVisible visible; |