diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:18:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:18:46 +0000 |
commit | 56294d30a82ec2da6f9ce399740c1ef65a9ddef4 (patch) | |
tree | bbe3823e41495d026ba8edc6eeaef166edb7e2a2 /lib/gs-app-private.h | |
parent | Initial commit. (diff) | |
download | gnome-software-56294d30a82ec2da6f9ce399740c1ef65a9ddef4.tar.xz gnome-software-56294d30a82ec2da6f9ce399740c1ef65a9ddef4.zip |
Adding upstream version 3.38.1.upstream/3.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | lib/gs-app-private.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/gs-app-private.h b/lib/gs-app-private.h new file mode 100644 index 0000000..1163bf3 --- /dev/null +++ b/lib/gs-app-private.h @@ -0,0 +1,30 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- + * vi:set noexpandtab tabstop=8 shiftwidth=8: + * + * Copyright (C) 2016 Richard Hughes <richard@hughsie.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#pragma once + +#include "gs-app.h" +#include "gs-plugin-types.h" + +G_BEGIN_DECLS + +void gs_app_set_priority (GsApp *app, + guint priority); +guint gs_app_get_priority (GsApp *app); +void gs_app_set_unique_id (GsApp *app, + const gchar *unique_id); +void gs_app_remove_addon (GsApp *app, + GsApp *addon); +GCancellable *gs_app_get_cancellable (GsApp *app); +GsPluginAction gs_app_get_pending_action (GsApp *app); +void gs_app_set_pending_action (GsApp *app, + GsPluginAction action); +gint gs_app_compare_priority (GsApp *app1, + GsApp *app2); + +G_END_DECLS |