diff options
author | Ted Gould <ted@gould.cx> | 2010-06-28 15:55:53 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-06-28 15:55:53 -0500 |
commit | 71e4cc90f10559cc675d696c773ed2825a2cbb8d (patch) | |
tree | afa176380dc293ab97af1d132bab049c9b5ec547 /tests/json-loader.h | |
parent | 1fa54c12337433455d7e9a65779b28d927050896 (diff) | |
download | libdbusmenu-71e4cc90f10559cc675d696c773ed2825a2cbb8d.tar.gz libdbusmenu-71e4cc90f10559cc675d696c773ed2825a2cbb8d.tar.bz2 libdbusmenu-71e4cc90f10559cc675d696c773ed2825a2cbb8d.zip |
Moving the JSON parsing code into the library.
Diffstat (limited to 'tests/json-loader.h')
-rw-r--r-- | tests/json-loader.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/json-loader.h b/tests/json-loader.h index b776c15..67e1c8b 100644 --- a/tests/json-loader.h +++ b/tests/json-loader.h @@ -1,3 +1,11 @@ +#ifndef __DBUSMENU_JSON_LOADER_H__ +#define __DBUSMENU_JSON_LOADER_H__ + #include <libdbusmenu-glib/menuitem.h> +#include <json-glib/json-glib.h> + +DbusmenuMenuitem * dbusmenu_json_build_from_node (const JsonNode * node); +DbusmenuMenuitem * dbusmenu_json_build_from_file (const gchar * filename); +#endif /* __DBUSMENU_JSON_LOADER_H__ */ |