X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Frequest.cpp;h=069f8ff2bd2f5fa51ef8e67c693aae7632f7a8e1;hb=1476fb12566dd8d7de9c598bb0ac78e454f52d11;hp=2e674d8204636ff562f19faaad648268e798b50b;hpb=5ac52dc6412f8311b6cfbd0e99652c914d5c6168;p=apps%2Fagl-service-windowmanager.git diff --git a/src/request.cpp b/src/request.cpp index 2e674d8..069f8ff 100644 --- a/src/request.cpp +++ b/src/request.cpp @@ -14,29 +14,31 @@ * limitations under the License. */ -#include "applist.hpp" +#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