summaryrefslogtreecommitdiffstats
path: root/src/json_helper.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/json_helper.hpp')
-rw-r--r--src/json_helper.hpp16
1 files changed, 16 insertions, 0 deletions
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<uint32_t> const &v);
+
+#endif // TMCAGLWM_JSON_HELPER_HPP