summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-screenshot-private.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-03-20 15:41:04 +0000
committerRichard Hughes <richard@hughsie.com>2014-03-20 17:54:52 +0000
commit50fc0be57d11b757c78b1b2445f4a9d7137a243d (patch)
tree6175aea257681c9c7a605493515e39655517a556 /libappstream-glib/as-screenshot-private.h
parent2f4dc7bdbc3b407889f239d87b2b1ae018e3a2d8 (diff)
downloadappstream-glib-50fc0be57d11b757c78b1b2445f4a9d7137a243d.tar.gz
Add an 'api-version' property to AsStore to generate old-style metadata
This allows us to keep up with the latest API and still write metadata compatible with old applications not using libappstream-glib or libappstream.
Diffstat (limited to 'libappstream-glib/as-screenshot-private.h')
-rw-r--r--libappstream-glib/as-screenshot-private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-glib/as-screenshot-private.h b/libappstream-glib/as-screenshot-private.h
index 2e25c80..92ccaa9 100644
--- a/libappstream-glib/as-screenshot-private.h
+++ b/libappstream-glib/as-screenshot-private.h
@@ -33,7 +33,8 @@
G_BEGIN_DECLS
GNode *as_screenshot_node_insert (AsScreenshot *screenshot,
- GNode *parent);
+ GNode *parent,
+ gdouble api_version);
gboolean as_screenshot_node_parse (AsScreenshot *screenshot,
GNode *node,
GError **error);