Code Review
/
apps
/
agl-service-windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
A
[apps/agl-service-windowmanager.git]
/
src
/
request.cpp
diff --git
a/src/request.cpp
b/src/request.cpp
index
415a80d
..
069f8ff
100644
(file)
--- a/
src/request.cpp
+++ b/
src/request.cpp
@@
-14,23
+14,31
@@
* limitations under the License.
*/
* limitations under the License.
*/
-#include "
appli
st.hpp"
+#include "
reque
st.hpp"
-namespace wm {
+namespace wm
+{
using std::string;
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)
+ : req_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->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