summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2018-08-07 11:44:34 +1200
committerRichard Hughes <richard@hughsie.com>2018-08-07 07:46:50 +0100
commit1523b245224ec569a58da4df6b8cc8acf579a0fe (patch)
tree73c6985d7187532ccd4a49201df2c9e8fbfa4a26
parent1b9364c980f8bae169b646a2d1a78ec9c3fc0754 (diff)
downloadappstream-glib-1523b245224ec569a58da4df6b8cc8acf579a0fe.tar.gz
Add AS_APP_QUIRK_DEVELOPER_VERIFIED
This quirk allows apps to marked as having an additional level of checking performed on the developer. This is to give confidence to the user that this is the official version of an app. This is a common design pattern used in modern packaging systems (e.g. Apple App Store, Google Play).
-rw-r--r--libappstream-glib/as-app.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-glib/as-app.h b/libappstream-glib/as-app.h
index a878479..425b5c0 100644
--- a/libappstream-glib/as-app.h
+++ b/libappstream-glib/as-app.h
@@ -352,6 +352,7 @@ typedef enum {
* @AS_APP_QUIRK_NEEDS_USER_ACTION: The component requires some kind of user action
* @AS_APP_QUIRK_IS_PROXY: Is a proxy app that operates on other applications
* @AS_APP_QUIRK_REMOVABLE_HARDWARE: The device is unusable whilst the action is performed
+ * @AS_APP_QUIRK_DEVELOPER_VERIFIED: The app developer has been verified
*
* The component attributes.
**/
@@ -368,6 +369,7 @@ typedef enum {
AS_APP_QUIRK_NEEDS_USER_ACTION = 1 << 8, /* Since: 0.6.2 */
AS_APP_QUIRK_IS_PROXY = 1 << 9, /* Since: 0.6.6 */
AS_APP_QUIRK_REMOVABLE_HARDWARE = 1 << 10, /* Since: 0.6.6 */
+ AS_APP_QUIRK_DEVELOPER_VERIFIED = 1 << 11, /* Since: 0.7.11 */
/*< private >*/
AS_APP_QUIRK_LAST
} AsAppQuirk;