diff options
author | Richard Hughes <richard@hughsie.com> | 2015-01-20 20:35:03 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-01-21 09:06:53 +0000 |
commit | 9b96be71a85b9e12a43fee3642fd71957d6b0bdf (patch) | |
tree | a79bae215225230935e6cd9ba807498d753d4d39 /libappstream-glib/as-icon-private.h | |
parent | 3fcc808827df70e90a810dab7e52eb36eb0ceabc (diff) | |
download | appstream-glib-9b96be71a85b9e12a43fee3642fd71957d6b0bdf.tar.gz |
Create a AsNodeContext object for parsing state
We've relied on version number heuristics for too long, and now we're in a
position where we need the source kind to parse files correctly.
All the functions are private, no API bump required.
Diffstat (limited to 'libappstream-glib/as-icon-private.h')
-rw-r--r-- | libappstream-glib/as-icon-private.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libappstream-glib/as-icon-private.h b/libappstream-glib/as-icon-private.h index 01ed19a..0c7af74 100644 --- a/libappstream-glib/as-icon-private.h +++ b/libappstream-glib/as-icon-private.h @@ -27,6 +27,7 @@ #define __AS_ICON_PRIVATE_H #include "as-icon.h" +#include "as-node-private.h" G_BEGIN_DECLS @@ -36,12 +37,14 @@ void as_icon_set_data (AsIcon *icon, GNode *as_icon_node_insert (AsIcon *icon, GNode *parent, - gdouble api_version); + AsNodeContext *ctx); gboolean as_icon_node_parse (AsIcon *icon, GNode *node, + AsNodeContext *ctx, GError **error); gboolean as_icon_node_parse_dep11 (AsIcon *icon, GNode *node, + AsNodeContext *ctx, GError **error); G_END_DECLS |