diff options
author | Richard Hughes <richard@hughsie.com> | 2016-03-23 10:49:14 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-03-23 10:49:16 +0000 |
commit | b8d0b8f7b9c617de173c1f4b6b77c95dd779b5fa (patch) | |
tree | 0d1de880f48f48f0394848f1eea5e9adb1383c86 /libappstream-glib/as-store.h | |
parent | 91a4d62016f79dc6bd8c1d897908296abb9fed78 (diff) | |
download | appstream-glib-b8d0b8f7b9c617de173c1f4b6b77c95dd779b5fa.tar.gz |
Add as_store_get_app_by_id_ignore_prefix()
This allows applications to be fetched from the store when we don't care what
the prefix is.
Diffstat (limited to 'libappstream-glib/as-store.h')
-rw-r--r-- | libappstream-glib/as-store.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libappstream-glib/as-store.h b/libappstream-glib/as-store.h index b95e2d2..c8848ac 100644 --- a/libappstream-glib/as-store.h +++ b/libappstream-glib/as-store.h @@ -160,6 +160,9 @@ GPtrArray *as_store_get_apps_by_metadata (AsStore *store, const gchar *value); AsApp *as_store_get_app_by_id (AsStore *store, const gchar *id); +AsApp *as_store_get_app_by_id_ignore_prefix + (AsStore *store, + const gchar *id); AsApp *as_store_get_app_by_id_with_fallbacks (AsStore *store, const gchar *id); AsApp *as_store_get_app_by_pkgname (AsStore *store, |