summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-store.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-06-16 16:20:16 +0100
committerRichard Hughes <richard@hughsie.com>2015-06-17 10:53:02 +0100
commit125af448fcea95dddd201d4e8d152d95a54bbaf8 (patch)
treec23dfc855c4a5ebd886fd93c8a7c15ab75eb1048 /libappstream-glib/as-store.h
parentee2d49de66b56e83ee069ff5edc66a145081ae02 (diff)
downloadappstream-glib-125af448fcea95dddd201d4e8d152d95a54bbaf8.tar.gz
Allow getting an application from the store with an old desktop ID
This is currently a harcoded table; I think this is the best we can do.
Diffstat (limited to 'libappstream-glib/as-store.h')
-rw-r--r--libappstream-glib/as-store.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-glib/as-store.h b/libappstream-glib/as-store.h
index ba19fc3..5b4ec0d 100644
--- a/libappstream-glib/as-store.h
+++ b/libappstream-glib/as-store.h
@@ -148,6 +148,8 @@ 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_with_fallbacks (AsStore *store,
+ const gchar *id);
AsApp *as_store_get_app_by_pkgname (AsStore *store,
const gchar *pkgname);
void as_store_add_app (AsStore *store,