Line |
Branch |
Exec |
Source |
1 |
|
|
/* cc-input-list-box.c |
2 |
|
|
* |
3 |
|
|
* Copyright (C) 2010 Intel, Inc |
4 |
|
|
* Copyright (C) 2020 System76, Inc. |
5 |
|
|
* |
6 |
|
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
|
* it under the terms of the GNU General Public License as published by |
8 |
|
|
* the Free Software Foundation; either version 2 of the License, or |
9 |
|
|
* (at your option) any later version. |
10 |
|
|
* |
11 |
|
|
* This program is distributed in the hope that it will be useful, |
12 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
|
|
* GNU General Public License for more details. |
15 |
|
|
* |
16 |
|
|
* You should have received a copy of the GNU General Public License |
17 |
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>. |
18 |
|
|
* |
19 |
|
|
* Author: Sergey Udaltsov <svu@gnome.org> |
20 |
|
|
* Ian Douglas Scott <idscott@system76.com> |
21 |
|
|
* |
22 |
|
|
* SPDX-License-Identifier: GPL-2.0-or-later |
23 |
|
|
*/ |
24 |
|
|
|
25 |
|
|
#pragma once |
26 |
|
|
|
27 |
|
|
G_BEGIN_DECLS |
28 |
|
|
|
29 |
|
|
#include <adwaita.h> |
30 |
|
|
|
31 |
|
|
#define CC_TYPE_INPUT_LIST_BOX (cc_input_list_box_get_type ()) |
32 |
|
✗ |
G_DECLARE_FINAL_TYPE (CcInputListBox, cc_input_list_box, CC, INPUT_LIST_BOX, AdwBin) |
33 |
|
|
|
34 |
|
|
void cc_input_list_box_set_login (CcInputListBox *box, |
35 |
|
|
gboolean login); |
36 |
|
|
void cc_input_list_box_set_login_auto_apply (CcInputListBox *box, |
37 |
|
|
gboolean auto_apply); |
38 |
|
|
void cc_input_list_box_set_localed (CcInputListBox *box, |
39 |
|
|
GDBusProxy *localed); |
40 |
|
|
void cc_input_list_box_set_permission (CcInputListBox *box, |
41 |
|
|
GPermission *permission); |
42 |
|
|
|
43 |
|
|
G_END_DECLS |
44 |
|
|
|