[gnome-software/1021-please-add-a-way-to-show-only-open-source-apps: 1/6] gs-plugin-types: Add GS_PLUGIN_LIST_APPS_FILTER_FREELY_LICENSED
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1021-please-add-a-way-to-show-only-open-source-apps: 1/6] gs-plugin-types: Add GS_PLUGIN_LIST_APPS_FILTER_FREELY_LICENSED
- Date: Fri, 14 Oct 2022 07:01:36 +0000 (UTC)
commit 06a8c164bc5be1f89ccc0607ca5922bc088b0ca3
Author: Milan Crha <mcrha redhat com>
Date: Fri Oct 14 08:22:43 2022 +0200
gs-plugin-types: Add GS_PLUGIN_LIST_APPS_FILTER_FREELY_LICENSED
To be used in the following commits, to filter result of the list-apps
job to return only freely licensed apps.
lib/gs-plugin-types.h | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/lib/gs-plugin-types.h b/lib/gs-plugin-types.h
index 59504bea9..61c08e8f2 100644
--- a/lib/gs-plugin-types.h
+++ b/lib/gs-plugin-types.h
@@ -174,6 +174,7 @@ typedef enum {
* GsPluginListAppsFlags:
* @GS_PLUGIN_LIST_APPS_FLAGS_NONE: No flags set.
* @GS_PLUGIN_LIST_APPS_FLAGS_INTERACTIVE: User initiated the job.
+ * @GS_PLUGIN_LIST_APPS_FILTER_FREELY_LICENSED: Filter result to return only freely licensed apps.
*
* Flags for an operation to list apps matching a given query.
*
@@ -182,6 +183,7 @@ typedef enum {
typedef enum {
GS_PLUGIN_LIST_APPS_FLAGS_NONE = 0,
GS_PLUGIN_LIST_APPS_FLAGS_INTERACTIVE = 1 << 0,
+ GS_PLUGIN_LIST_APPS_FILTER_FREELY_LICENSED = 1 << 1,
} GsPluginListAppsFlags;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]