diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-07-06 11:32:50 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:24:00 +0200 |
commit | 9dfa6b9427115e7402ce25e40e4d78b20d559c93 (patch) | |
tree | a790ce4ce7b15930c1550c5b08bc51930dd75dbc /src/json_helper.hpp | |
parent | ba5360ac03286364abd9fde6b500e2c0fabe56b1 (diff) |
Move all nlohmann::json to json_helper.cpp
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/json_helper.hpp')
-rw-r--r-- | src/json_helper.hpp | 16 |
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 |