summaryrefslogtreecommitdiffstats
path: root/src/json_helper.cpp
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-07-19 13:08:17 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-07-19 15:22:29 +0000
commitc6f9a9b8468b3746a3dec7ee2a0b7d84ec9fb44a (patch)
treee766e0b4b1bb894c5511ed6d1e71a4ac389415d6 /src/json_helper.cpp
parente4222ca8da3b02afca5625fa2cef6832aa8ce90e (diff)
Revert "Add PolicyManager as plugin"
This reverts commit 99b6f4d2fcd421d3a760a88a67e511fb6fc98068. Change-Id: I8725ca05a3e3fa0ea9e1db935e9e7d5b85a9affd
Diffstat (limited to 'src/json_helper.cpp')
-rw-r--r--src/json_helper.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/json_helper.cpp b/src/json_helper.cpp
index b97f21d..c2f4173 100644
--- a/src/json_helper.cpp
+++ b/src/json_helper.cpp
@@ -136,18 +136,6 @@ int getIntFromJson(json_object *obj, const char *key)
return json_object_get_int(tmp);
}
-json_bool getBoolFromJson(json_object *obj, const char *key)
-{
- json_object *tmp;
- if (!json_object_object_get_ex(obj, key, &tmp))
- {
- HMI_DEBUG("wm:jh", "Not found key \"%s\"", key);
- return FALSE;
- }
-
- return json_object_get_boolean(tmp);
-}
-
int inputJsonFilie(const char* file, json_object** obj)
{
const int input_size = 128;