GCC Code Coverage Report


Directory: ./
File: panels/privacy/bolt/cc-bolt-device-dialog.h
Date: 2024-05-04 07:58:27
Exec Total Coverage
Lines: 0 1 0.0%
Functions: 0 1 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /* Copyright (C) 2018 Red Hat, Inc
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, see <http://www.gnu.org/licenses/>.
15 *
16 * Authors: Christian J. Kellner <ckellner@redhat.com>
17 *
18 */
19
20 #pragma once
21
22 #include <adwaita.h>
23
24 #include "bolt-client.h"
25 #include "bolt-device.h"
26
27 G_BEGIN_DECLS
28
29 #define CC_TYPE_BOLT_DEVICE_DIALOG cc_bolt_device_dialog_get_type ()
30
31 G_DECLARE_FINAL_TYPE (CcBoltDeviceDialog, cc_bolt_device_dialog, CC, BOLT_DEVICE_DIALOG, AdwWindow);
32
33 CcBoltDeviceDialog * cc_bolt_device_dialog_new (void);
34
35 void cc_bolt_device_dialog_set_client (CcBoltDeviceDialog *dialog,
36 BoltClient *client);
37
38 void cc_bolt_device_dialog_set_device (CcBoltDeviceDialog *dialog,
39 BoltDevice *device,
40 GPtrArray *parents);
41
42 BoltDevice * cc_bolt_device_dialog_peek_device (CcBoltDeviceDialog *dialog);
43
44 gboolean cc_bolt_device_dialog_device_equal (CcBoltDeviceDialog *dialog,
45 BoltDevice *device);
46
47 G_END_DECLS
48