X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fwm_layer_control.hpp;h=d8d32736dcad878ab785f15d39640a4e4e5b75fc;hb=ca66798559857e0884872f2dbb32a2a445afda3e;hp=18f7359ba7880043dc6d58225559adcf09e2036b;hpb=5d36c79042c3f513392cb765940252acb860b7a9;p=apps%2Fagl-service-windowmanager.git diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp index 18f7359..d8d3273 100644 --- a/src/wm_layer_control.hpp +++ b/src/wm_layer_control.hpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include "wm_error.hpp" #include "util.hpp" @@ -46,8 +47,10 @@ class LayerControl // Don't use this function. void dispatchILMEvent(ilmObjectType object, t_ilm_uint id, t_ilm_bool created); private: - WMError load(const std::string& path); + WMError loadLayerSetting(const std::string& path); + WMError loadAreaDb(const std::string& path); std::vector> wm_layers; + std::unordered_map area2size; unsigned screenID; struct ilmScreenProperties screen_prop; };