X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Frequest.cpp;h=97b9f493479d2755387459294fc8cc25eae7a90a;hb=92a48ccfc61ae0452bc814c3baa4e4c0ce885890;hp=415a80d8641c598a21689b217188a2b7c0dbfd54;hpb=973a7123c0bced7c7e7d9dc6dc5e990a0e2838ac;p=apps%2Fagl-service-windowmanager.git diff --git a/src/request.cpp b/src/request.cpp index 415a80d..97b9f49 100644 --- a/src/request.cpp +++ b/src/request.cpp @@ -14,23 +14,31 @@ * 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) + : seq_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->seq_num = obj.seq_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