POI: AGL LifeCycle Management
[apps/agl-service-windowmanager.git] / src / request.cpp
1 /*
2  * Copyright (c) 2017 TOYOTA MOTOR CORPORATION
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #include "request.hpp"
18
19 namespace wm
20 {
21
22 using std::string;
23
24 WMRequest::WMRequest() {}
25
26 WMRequest::WMRequest(string appid, string role, string area, Task task)
27     : req_num(0),
28       trigger{appid, role, area, task},
29       sync_draw_req(0)
30 {
31 }
32
33 WMRequest::~WMRequest()
34 {
35 }
36
37 WMRequest::WMRequest(const WMRequest &obj)
38 {
39     this->req_num = obj.req_num;
40     this->trigger = obj.trigger;
41     this->sync_draw_req = obj.sync_draw_req;
42 }
43
44 } // namespace wm