diff options
Diffstat (limited to 'src/request.cpp')
-rw-r--r-- | src/request.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/request.cpp b/src/request.cpp index 415a80d..2e674d8 100644 --- a/src/request.cpp +++ b/src/request.cpp @@ -20,8 +20,13 @@ 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) + : seq_num(0), + trigger{appid, role, area, task}, + sync_draw_req(0) +{ } WMRequest::~WMRequest(){ @@ -29,8 +34,9 @@ WMRequest::~WMRequest(){ } WMRequest::WMRequest(const WMRequest &obj){ - + this->seq_num = obj.seq_num; + this->trigger = obj.trigger; + this->sync_draw_req = obj.sync_draw_req; } - }
\ No newline at end of file |