From 9dfa6b9427115e7402ce25e40e4d78b20d559c93 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Thu, 6 Jul 2017 11:32:50 +0200 Subject: Move all nlohmann::json to json_helper.cpp Signed-off-by: Marcus Fritzsch --- src/json_helper.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/json_helper.hpp (limited to 'src/json_helper.hpp') diff --git a/src/json_helper.hpp b/src/json_helper.hpp new file mode 100644 index 0000000..4a536d3 --- /dev/null +++ b/src/json_helper.hpp @@ -0,0 +1,16 @@ +#ifndef TMCAGLWM_JSON_HELPER_HPP +#define TMCAGLWM_JSON_HELPER_HPP + +#include "wayland.hpp" + +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(std::vector const &v); + +#endif // TMCAGLWM_JSON_HELPER_HPP -- cgit 1.2.3-korg