aboutsummaryrefslogtreecommitdiffstats
path: root/src/request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/request.cpp')
-rw-r--r--src/request.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/request.cpp b/src/request.cpp
index 069f8ff..0d8e5d4 100644
--- a/src/request.cpp
+++ b/src/request.cpp
@@ -30,6 +30,13 @@ WMRequest::WMRequest(string appid, string role, string area, Task task)
{
}
+WMRequest::WMRequest(Task task)
+ : req_num(0),
+ trigger{"", "", "", task},
+ sync_draw_req(0)
+{
+}
+
WMRequest::~WMRequest()
{
}
@@ -41,4 +48,4 @@ WMRequest::WMRequest(const WMRequest &obj)
this->sync_draw_req = obj.sync_draw_req;
}
-} // namespace wm \ No newline at end of file
+} // namespace wm