Set timeout as 10sec
[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 using std::string;
22
23 WMRequest::WMRequest(){}
24
25 WMRequest::WMRequest(string appid, string role, string area, Task task)
26     : seq_num(0),
27       trigger{appid, role, area, task},
28       sync_draw_req(0)
29 {
30 }
31
32 WMRequest::~WMRequest(){
33
34 }
35
36 WMRequest::WMRequest(const WMRequest &obj){
37     this->seq_num = obj.seq_num;
38     this->trigger = obj.trigger;
39     this->sync_draw_req = obj.sync_draw_req;
40 }
41
42 }