aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer.hpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-22 21:13:48 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-08-22 21:13:48 +0900
commit726a95bc8c63ddd1c968028b61068ba2c33b994e (patch)
tree343b7bf28622eee91881135933f4b216da4679e0 /src/wm_layer.hpp
parentca66798559857e0884872f2dbb32a2a445afda3e (diff)
Add loadLayerSetting
Change-Id: I08be64a3b0194175db4b3b7ef259254c10ad038b Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/wm_layer.hpp')
-rw-r--r--src/wm_layer.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wm_layer.hpp b/src/wm_layer.hpp
index ac74530..6cfd9c2 100644
--- a/src/wm_layer.hpp
+++ b/src/wm_layer.hpp
@@ -23,6 +23,8 @@
#include <memory>
#include "wm_error.hpp"
+struct json_object;
+
namespace wm
{
@@ -79,6 +81,7 @@ class WMLayer
{
public:
WMLayer();
+ WMLayer(json_object* j);
~WMLayer() = default;
unsigned getNewLayerID(const std::string& role);
LayerState getLayerState() const { return before_state; }