summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-app.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-06-18 10:47:00 +0100
committerRichard Hughes <richard@hughsie.com>2014-06-18 10:47:00 +0100
commitac8af8e85ce49b7202e3ab67f00136ffc26c8cb6 (patch)
treee5d462552d97418878bc3027e4605ae93d16176f /libappstream-glib/as-app.h
parent3cf2b09ed6f067fb4488e7d8e8aa8cab42b3f6b5 (diff)
downloadappstream-glib-ac8af8e85ce49b7202e3ab67f00136ffc26c8cb6.tar.gz
Add as_app_to_file()
Diffstat (limited to 'libappstream-glib/as-app.h')
-rw-r--r--libappstream-glib/as-app.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libappstream-glib/as-app.h b/libappstream-glib/as-app.h
index 0b79b19..1f0998d 100644
--- a/libappstream-glib/as-app.h
+++ b/libappstream-glib/as-app.h
@@ -315,6 +315,10 @@ gboolean as_app_parse_file (AsApp *app,
const gchar *filename,
AsAppParseFlags flags,
GError **error);
+gboolean as_app_to_file (AsApp *app,
+ GFile *file,
+ GCancellable *cancellable,
+ GError **error);
G_END_DECLS