X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fjson_helper.hpp;h=cad129f0d0156dbb0420080a1c6f5185414c49fc;hb=5f05e17be59881ea450f2cc3a76a2dd0e408974f;hp=22ec3e6c8d84de756fdcaad4cf798713bc51444e;hpb=2ea71aa957634ce69681ae34abace0566d52b744;p=apps%2Fagl-service-windowmanager.git diff --git a/src/json_helper.hpp b/src/json_helper.hpp index 22ec3e6..cad129f 100644 --- a/src/json_helper.hpp +++ b/src/json_helper.hpp @@ -17,13 +17,10 @@ #ifndef TMCAGLWM_JSON_HELPER_HPP #define TMCAGLWM_JSON_HELPER_HPP -#include "result.hpp" + #include "wayland_ivi_wm.hpp" #include -#include - -struct json_object; json_object *to_json(compositor::screen const *s); json_object *to_json(compositor::controller::props_map const &s); @@ -32,6 +29,7 @@ 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); +double getDoubleFromJson(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