X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=src%2Frequest.cpp;h=069f8ff2bd2f5fa51ef8e67c693aae7632f7a8e1;hb=9cfdd8937209e3e47b551e7a188add100cbae2e7;hp=9c69058722f62b0154997c7076e8889491d64373;hpb=45ff324610e21ffd0292bdd1e39726c808a41725;p=apps%2Fagl-service-windowmanager.git diff --git a/src/request.cpp b/src/request.cpp index 9c69058..069f8ff 100644 --- a/src/request.cpp +++ b/src/request.cpp @@ -16,27 +16,29 @@ #include "request.hpp" -namespace wm { +namespace wm +{ using std::string; -WMRequest::WMRequest(){} +WMRequest::WMRequest() {} WMRequest::WMRequest(string appid, string role, string area, Task task) - : seq_num(0), + : req_num(0), trigger{appid, role, area, task}, sync_draw_req(0) { } -WMRequest::~WMRequest(){ - +WMRequest::~WMRequest() +{ } -WMRequest::WMRequest(const WMRequest &obj){ - this->seq_num = obj.seq_num; +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