Files
Guido Günther 49dab605c2 libfeedback: Cancel all running feedbacks on uninit
We keep track of the active ids and end them on uninit. This
make sure feedbacks don't continue to run if the application quits
and forgets to end a feedback.
2020-06-02 16:36:24 +00:00

19 lines
311 B
C

/*
* Copyright (C) 2020 Purism SPC
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include <gio/gio.h>
#include "lfb-gdbus.h"
G_BEGIN_DECLS
LfbGdbusFeedback *_lfb_get_proxy (void);
void _lfb_active_add_id (guint id);
void _lfb_active_remove_id (guint id);
G_END_DECLS