aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-10 17:42:44 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-09-10 17:42:44 +0900
commit2ce7162980b40cf5587ed8a0247f3e9bd3407ad7 (patch)
treeba513752a2d31fc5106e5f49d2bbfd85f63f0d1b /src/wm_layer.hpp
parentaf7d388bbfcbd560e4d24432a863717ef95cd819 (diff)
Update wm_layer* : Render order change
Change-Id: I3e417785d36e113a2b97076774d80c46defd3be4 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wm_layer.hpp')
-rw-r--r--src/wm_layer.hpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/wm_layer.hpp b/src/wm_layer.hpp
index 4002c4b..65182b0 100644
--- a/src/wm_layer.hpp
+++ b/src/wm_layer.hpp
@@ -42,6 +42,9 @@ class LayerState
void removeLayer(unsigned layer);
void setArea(const std::string& app, const std::string& area);
+ // Debug
+ void dump();
+
private:
std::vector<unsigned> render_order;
std::unordered_map<std::string, std::string> area2appid;
@@ -67,16 +70,20 @@ class WMLayer
const std::string& layerName();
MANAGEMENT_TYPE layerType() { return this->type; }
void appendArea(const std::string& area);
- void removeLayerID(unsigned id);
LayerState& getLayerState() { return tmp_state; }
WMError setLayerState(const LayerState& l);
bool hasLayerID(unsigned id);
bool hasRole(const std::string& role);
// Manipulation
- void addLayer(unsigned layer);
+ void addLayerToState(unsigned layer);
+ void removeLayerFromState(unsigned layer);
+ void terminateApp(unsigned layer);
WMError commitChange();
+ // Debug
+ void dump();
+
private:
LayerState tmp_state;
LayerState state;