diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-08-22 20:16:16 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-08-22 20:16:16 +0900 |
commit | ca66798559857e0884872f2dbb32a2a445afda3e (patch) | |
tree | 60e2d692460409d97a090676f794123b2a112aea /src/wm_layer_control.hpp | |
parent | 5d36c79042c3f513392cb765940252acb860b7a9 (diff) |
Add loadAreaDb
Change-Id: Iccbb3730395832b1f0d3301f3866337211cf5907
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wm_layer_control.hpp')
-rw-r--r-- | src/wm_layer_control.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 <string>
#include <memory>
#include <vector>
+#include <unordered_map>
#include <ilm/ilm_control.h>
#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<std::shared_ptr<WMLayer>> wm_layers;
+ std::unordered_map<std::string, struct rect> area2size;
unsigned screenID;
struct ilmScreenProperties screen_prop;
};
|