summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-app.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-07-19 15:48:08 +0100
committerRichard Hughes <richard@hughsie.com>2016-07-26 21:45:25 +0100
commitc7fa3a21c0ca2719a397b191d742e88a45a265bd (patch)
tree62305710f7ec7b4e530b9c02434d5d0928000888 /libappstream-glib/as-app.h
parentb85388f66f0e0758790f72d5cffb8a92c0885ab7 (diff)
downloadappstream-glib-c7fa3a21c0ca2719a397b191d742e88a45a265bd.tar.gz
Add AsReview
This allows us to represent an end-user application review.
Diffstat (limited to 'libappstream-glib/as-app.h')
-rw-r--r--libappstream-glib/as-app.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libappstream-glib/as-app.h b/libappstream-glib/as-app.h
index f027924..d642333 100644
--- a/libappstream-glib/as-app.h
+++ b/libappstream-glib/as-app.h
@@ -1,6 +1,6 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
- * Copyright (C) 2014-2015 Richard Hughes <richard@hughsie.com>
+ * Copyright (C) 2014-2016 Richard Hughes <richard@hughsie.com>
*
* Licensed under the GNU Lesser General Public License Version 2.1
*
@@ -34,6 +34,7 @@
#include "as-provide.h"
#include "as-release.h"
#include "as-screenshot.h"
+#include "as-review.h"
#include "as-content-rating.h"
#include "as-translation.h"
@@ -305,6 +306,7 @@ GPtrArray *as_app_get_architectures (AsApp *app);
GPtrArray *as_app_get_releases (AsApp *app);
GPtrArray *as_app_get_provides (AsApp *app);
GPtrArray *as_app_get_screenshots (AsApp *app);
+GPtrArray *as_app_get_reviews (AsApp *app);
GPtrArray *as_app_get_content_ratings (AsApp *app);
GPtrArray *as_app_get_icons (AsApp *app);
GPtrArray *as_app_get_bundles (AsApp *app);
@@ -420,6 +422,8 @@ void as_app_add_provide (AsApp *app,
AsProvide *provide);
void as_app_add_screenshot (AsApp *app,
AsScreenshot *screenshot);
+void as_app_add_review (AsApp *app,
+ AsReview *review);
void as_app_add_content_rating (AsApp *app,
AsContentRating *content_rating);
void as_app_add_icon (AsApp *app,