summaryrefslogtreecommitdiffstats
path: root/src/json_helper.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-07-10 10:44:29 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit0c673801b78c98fe116b4d14bf37fb18f8b749dc (patch)
tree2600e18722fa4e0694ed33afbadf0c0b83640ebf /src/json_helper.hpp
parent8c587d6defaf73c1ddbe50d88f6fdd7360b63507 (diff)
Track surface/layer properties with one struct
As both share the exact same properties this makes sense, we now can write code once and work on both layer and surface properties. This however is only relevant in the wayland "level" of things, as in WM semantics layers are always fullscreen. Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/json_helper.hpp')
-rw-r--r--src/json_helper.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/json_helper.hpp b/src/json_helper.hpp
index 4a536d3..7d5d26f 100644
--- a/src/json_helper.hpp
+++ b/src/json_helper.hpp
@@ -5,12 +5,8 @@
struct json_object;
-json_object *to_json(genivi::surface const *s);
-json_object *to_json(genivi::layer const *l);
json_object *to_json(genivi::screen const *s);
-json_object *to_json(genivi::controller::surface_map_type const &s);
-json_object *to_json(genivi::controller::layer_map_type const &l);
-json_object *to_json(genivi::controller::screen_map_type const &s);
+json_object *to_json(genivi::controller::props_map const &s);
json_object *to_json(std::vector<uint32_t> const &v);
#endif // TMCAGLWM_JSON_HELPER_HPP