* limitations under the License.
*/
-#include "applist.hpp"
+#include "request.hpp"
-namespace wm {
+namespace wm
+{
using std::string;
-WMRequest::WMRequest(string appid, string role, string area, Task task){
+WMRequest::WMRequest() {}
+WMRequest::WMRequest(string appid, string role, string area, Task task)
+ : req_num(0),
+ trigger{appid, role, area, task},
+ sync_draw_req(0)
+{
}
-WMRequest::~WMRequest(){
-
+WMRequest::~WMRequest()
+{
}
-WMRequest::WMRequest(const WMRequest &obj){
-
+WMRequest::WMRequest(const WMRequest &obj)
+{
+ this->req_num = obj.req_num;
+ this->trigger = obj.trigger;
+ this->sync_draw_req = obj.sync_draw_req;
}
-
-}
\ No newline at end of file
+} // namespace wm
\ No newline at end of file