X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fjson_helper.hpp;h=754898dd9db02d39674d5e52be4974e41f95bb47;hb=7f262e8a9781d060b0a59dd45c92d59aef85b474;hp=2f6b817294034421fa4ba391efedafad38411e02;hpb=c6f9a9b8468b3746a3dec7ee2a0b7d84ec9fb44a;p=apps%2Fagl-service-windowmanager.git diff --git a/src/json_helper.hpp b/src/json_helper.hpp index 2f6b817..754898d 100644 --- a/src/json_helper.hpp +++ b/src/json_helper.hpp @@ -14,23 +14,20 @@ * limitations under the License. */ -#ifndef TMCAGLWM_JSON_HELPER_HPP -#define TMCAGLWM_JSON_HELPER_HPP +#ifndef JSON_HELPER_HPP +#define JSON_HELPER_HPP #include -#include "../include/json.hpp" -#include "wayland_ivi_wm.hpp" +#include struct json_object; - -json_object *to_json(compositor::screen const *s); -json_object *to_json(compositor::controller::props_map const &s); json_object *to_json(std::vector const &v); namespace jh { const char* getStringFromJson(json_object* obj, const char* key); int getIntFromJson(json_object *obj, const char *key); +json_bool getBoolFromJson(json_object *obj, const char *key); int inputJsonFilie(const char* file, json_object** obj); } // namespace jh -#endif // TMCAGLWM_JSON_HELPER_HPP +#endif // JSON_HELPER_HPP