Add loadAreaDb
[apps/agl-service-windowmanager.git] / src / wm_layer_control.hpp
index 18f7359..d8d3273 100644 (file)
@@ -17,6 +17,7 @@
 #include <string>\r
 #include <memory>\r
 #include <vector>\r
+#include <unordered_map>\r
 #include <ilm/ilm_control.h>\r
 #include "wm_error.hpp"\r
 #include "util.hpp"\r
@@ -46,8 +47,10 @@ class LayerControl
     // Don't use this function.\r
     void dispatchILMEvent(ilmObjectType object, t_ilm_uint id, t_ilm_bool created);\r
   private:\r
-    WMError load(const std::string& path);\r
+    WMError loadLayerSetting(const std::string& path);\r
+    WMError loadAreaDb(const std::string& path);\r
     std::vector<std::shared_ptr<WMLayer>> wm_layers;\r
+    std::unordered_map<std::string, struct rect> area2size;\r
     unsigned screenID;\r
     struct ilmScreenProperties screen_prop;\r
 };\r