Line |
Branch |
Exec |
Source |
1 |
|
|
/* cc-keyboard-shortcut-row.h |
2 |
|
|
* |
3 |
|
|
* Copyright (C) 2020 System76, Inc. |
4 |
|
|
* |
5 |
|
|
* This program is free software: you can redistribute it and/or modify |
6 |
|
|
* it under the terms of the GNU General Public License as published by |
7 |
|
|
* the Free Software Foundation, either version 2 of the License, or |
8 |
|
|
* (at your option) any later version. |
9 |
|
|
* |
10 |
|
|
* This program is distributed in the hope that it will be useful, |
11 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 |
|
|
* GNU General Public License for more details. |
14 |
|
|
* |
15 |
|
|
* You should have received a copy of the GNU General Public License |
16 |
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 |
|
|
* |
18 |
|
|
* SPDX-License-Identifier: GPL-2.0-or-later |
19 |
|
|
*/ |
20 |
|
|
|
21 |
|
|
#pragma once |
22 |
|
|
|
23 |
|
|
#include <adwaita.h> |
24 |
|
|
#include "cc-keyboard-item.h" |
25 |
|
|
#include "cc-keyboard-manager.h" |
26 |
|
|
#include "cc-keyboard-shortcut-editor.h" |
27 |
|
|
|
28 |
|
|
G_BEGIN_DECLS |
29 |
|
|
|
30 |
|
|
#define CC_TYPE_KEYBOARD_SHORTCUT_ROW (cc_keyboard_shortcut_row_get_type()) |
31 |
|
✗ |
G_DECLARE_FINAL_TYPE (CcKeyboardShortcutRow, cc_keyboard_shortcut_row, CC, KEYBOARD_SHORTCUT_ROW, AdwActionRow) |
32 |
|
|
|
33 |
|
|
CcKeyboardShortcutRow *cc_keyboard_shortcut_row_new (CcKeyboardItem *item, |
34 |
|
|
CcKeyboardManager *manager, |
35 |
|
|
CcKeyboardShortcutEditor *editor, |
36 |
|
|
GtkSizeGroup *size_group); |
37 |
|
|
CcKeyboardItem *cc_keyboard_shortcut_row_get_item (CcKeyboardShortcutRow *self); |
38 |
|
|
|
39 |
|
|
G_END_DECLS |
40 |
|
|
|