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.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/json_helper.hpp b/src/json_helper.hpp
index 125473e..38b3c8c 100644
--- a/src/json_helper.hpp
+++ b/src/json_helper.hpp
@@ -17,6 +17,7 @@
#ifndef TMCAGLWM_JSON_HELPER_HPP
#define TMCAGLWM_JSON_HELPER_HPP
+#include <json-c/json.h>
#include "../include/json.hpp"
#include "wayland_ivi_wm.hpp"
@@ -26,4 +27,9 @@ json_object *to_json(compositor::screen const *s);
json_object *to_json(compositor::controller::props_map const &s);
json_object *to_json(std::vector<uint32_t> const &v);
+namespace jh {
+const char* getStringFromJson(json_object* obj, const char* key);
+int inputJsonFilie(const char* file, json_object** obj);
+} // namespace jh
+
#endif // TMCAGLWM_JSON_HELPER_HPP