summaryrefslogtreecommitdiffstats
path: root/lib/gs-metered.h
blob: f8cdc1fe1ec1f30b61b2ceffb9120a114d5c8971 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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