Code Review
/
apps
/
agl-service-windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add loadAreaDb
[apps/agl-service-windowmanager.git]
/
src
/
wm_layer_control.hpp
diff --git
a/src/wm_layer_control.hpp
b/src/wm_layer_control.hpp
index
18f7359
..
d8d3273
100644
(file)
--- a/
src/wm_layer_control.hpp
+++ b/
src/wm_layer_control.hpp
@@
-17,6
+17,7
@@
#include <string>
\r
#include <memory>
\r
#include <vector>
\r
#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
#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
// 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::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
unsigned screenID;
\r
struct ilmScreenProperties screen_prop;
\r
};
\r