X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Futil.cpp;h=0591d554ec70ac928d3c028feee4972e3ed68fb2;hb=refs%2Ftags%2Ficefish%2F9.0.2;hp=f26a4a17dcbbf8f94c2916498cd42bbca15882a8;hpb=a33cbe3e083318a4f48d44a645ee24447536e3a6;p=apps%2Fagl-service-windowmanager.git diff --git a/src/util.cpp b/src/util.cpp index f26a4a1..0591d55 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -176,3 +176,20 @@ std::string get_file_path(const char *file_name, const char *root_path) HMI_INFO("Using %s", path.c_str()); return path; } + +void ChangeAreaReq::dump() +{ + DUMP("=== change request dump ==="); + DUMP("request from : %s", this->appname.c_str()); + DUMP("save : %s", this->save ? "true" : "false"); + for(const auto& req : this->area_req) + { + DUMP("area change req : %s", req.first.c_str()); + DUMP(" x:%d y:%d w:%d h:%d",req.second.x, req.second.y, req.second.w, req.second.h); + } + for(const auto& req : this->update_app2area) + { + DUMP("update change app : %s, area:%s", req.first.c_str(), req.second.c_str()); + } + DUMP("======== dump end ========="); +}