X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayers.hpp;fp=src%2Flayers.hpp;h=b6dd67ffcc3341927c1a66f32c4ec39dc6415cc4;hb=dd72b1c91895058d14bd13c3aa9a50bd75f633b6;hp=a8ab2cc937265b0bdffec1a9b9398a331251896c;hpb=cf05c2b5c92b9a79635aa2277a9d55449e14fab6;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);