X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Flayers.hpp;h=b6dd67ffcc3341927c1a66f32c4ec39dc6415cc4;hb=3bc52b7d1ef47a30b74f01aba84fa1aae5ef949f;hp=a8ab2cc937265b0bdffec1a9b9398a331251896c;hpb=d1127dd62c25e9c4c7d545de2456c6f4c4d7309f;p=apps%2Fagl-service-windowmanager.git diff --git a/src/layers.hpp b/src/layers.hpp index a8ab2cc..b6dd67f 100644 --- a/src/layers.hpp +++ b/src/layers.hpp @@ -116,9 +116,12 @@ struct layer_map json to_json() const; void setupArea(int output_w, int output_h); compositor::rect getAreaSize(const std::string &area); + int loadAreaDb(); private: std::unordered_map area2size; + + static const char *kDefaultAreaDb; }; struct result to_layer_map(nlohmann::json const &j);