aboutsummaryrefslogtreecommitdiffstats
path: root/src/json_helper.hpp
diff options
context:
space:
mode:
authorYuta Doi <yuta-d@witz-inc.co.jp>2018-06-29 19:46:55 +0900
committerYuta Doi <yuta-d@witz-inc.co.jp>2018-07-09 10:04:38 +0900
commitcf05c2b5c92b9a79635aa2277a9d55449e14fab6 (patch)
tree6887035dc77dfe14362914f6bd116601006c39cd /src/json_helper.hpp
parent6373ce04e2d6c6ae77246bcf7560447b3daaed3d (diff)
Convert the roles from old one to new
Update the role name (drawing_name) and WindowManager converts the role from old one to new. We plan to delete the old roles by GG. Therefore the applications can use old olds until GG, After GG, old roles can not be used. If the applications use it, WindowManager regards the applications as the role "fallback". Therefore the applications may not be displayed in the intended layout. For the role "fallback", please refer to JIRA SPEC-1331. Bug-AGL: SPEC-1566 Change-Id: I6ca703183e3cab72ac460094ef14dc3675a98cb6 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
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