Move all nlohmann::json to json_helper.cpp
[staging/windowmanager.git] / src / json_helper.hpp
1 #ifndef TMCAGLWM_JSON_HELPER_HPP
2 #define TMCAGLWM_JSON_HELPER_HPP
3
4 #include "wayland.hpp"
5
6 struct json_object;
7
8 json_object *to_json(genivi::surface const *s);
9 json_object *to_json(genivi::layer const *l);
10 json_object *to_json(genivi::screen const *s);
11 json_object *to_json(genivi::controller::surface_map_type const &s);
12 json_object *to_json(genivi::controller::layer_map_type const &l);
13 json_object *to_json(genivi::controller::screen_map_type const &s);
14 json_object *to_json(std::vector<uint32_t> const &v);
15
16 #endif  // TMCAGLWM_JSON_HELPER_HPP