GCC Code Coverage Report


Directory: ./
File: panels/network/cc-wifi-connection-list.h
Date: 2024-05-04 07:58:27
Exec Total Coverage
Lines: 0 1 0.0%
Functions: 0 2 0.0%
Branches: 0 6 0.0%

Line Branch Exec Source
1 /*
2 * Copyright © 2018 Red Hat Inc.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #pragma once
19
20 #include <adwaita.h>
21 #include <NetworkManager.h>
22
23 G_BEGIN_DECLS
24
25 #define CC_TYPE_WIFI_CONNECTION_LIST (cc_wifi_connection_list_get_type())
26
27 G_DECLARE_FINAL_TYPE (CcWifiConnectionList, cc_wifi_connection_list, CC, WIFI_CONNECTION_LIST, AdwBin)
28
29 CcWifiConnectionList *cc_wifi_connection_list_new (NMClient *client,
30 NMDeviceWifi *device,
31 gboolean hide_unavailable,
32 gboolean show_aps,
33 gboolean checkable,
34 gboolean forgettable );
35
36
37 void cc_wifi_connection_list_freeze (CcWifiConnectionList *list);
38 void cc_wifi_connection_list_thaw (CcWifiConnectionList *list);
39
40 GtkListBox *cc_wifi_connection_list_get_list_box (CcWifiConnectionList *self);
41
42 gboolean cc_wifi_connection_list_is_empty (CcWifiConnectionList *self);
43
44 void cc_wifi_connection_list_set_placeholder_text (CcWifiConnectionList *self,
45 const gchar *placeholder_text);
46
47 G_END_DECLS
48