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-metered.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 'lib/gs-metered.h')
-rw-r--r-- | lib/gs-metered.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/gs-metered.h b/lib/gs-metered.h new file mode 100644 index 0000000..f8cdc1f --- /dev/null +++ b/lib/gs-metered.h @@ -0,0 +1,29 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- + * vi:set noexpandtab tabstop=8 shiftwidth=8: + * + * Copyright (C) 2019 Endless Mobile, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#pragma once + +#include <glib-object.h> +#include <gio/gio.h> + +#include "gs-app.h" +#include "gs-app-list.h" + +G_BEGIN_DECLS + +gboolean gs_metered_block_on_download_scheduler (GVariant *parameters, + GCancellable *cancellable, + GError **error); +gboolean gs_metered_block_app_on_download_scheduler (GsApp *app, + GCancellable *cancellable, + GError **error); +gboolean gs_metered_block_app_list_on_download_scheduler (GsAppList *app_list, + GCancellable *cancellable, + GError **error); + +G_END_DECLS |