X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Futil.hpp;h=95407721b6329b136e9ed7def7e336de0f524422;hb=refs%2Fchanges%2F69%2F21169%2F1;hp=36e556cee7b3d73aa77928b7342937cc83538e29;hpb=a33cbe3e083318a4f48d44a645ee24447536e3a6;p=apps%2Fagl-service-windowmanager.git diff --git a/src/util.hpp b/src/util.hpp index 36e556c..9540772 100644 --- a/src/util.hpp +++ b/src/util.hpp @@ -20,6 +20,7 @@ #include #include +#include #include #include @@ -121,4 +122,15 @@ class rectangle // Configuration file path helper std::string get_file_path(const char *file_name, const char *root_path = NULL); -#endif // !WM_UTIL_HPP +typedef struct ChangeAreaReq { + std::string appname; + std::unordered_map area_req; + bool save; + std::unordered_map update_app2area; + ChangeAreaReq() = default; + ~ChangeAreaReq() = default; + ChangeAreaReq(const ChangeAreaReq& val) = default; + void dump(); +} ChangeAreaReq; + +#endif // WM_UTIL_HPP