GCC Code Coverage Report


Directory: ./
File: panels/common/cc-split-row.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 /* cc-vertical-row.h
2 *
3 * Copyright 2018 Purism SPC
4 * 2021 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
5 * 2023 Red Hat, Inc
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 * SPDX-License-Identifier: GPL-3.0-or-later
21 */
22
23 #pragma once
24
25 #include <adwaita.h>
26
27 #include "cc-vertical-row.h"
28
29 G_BEGIN_DECLS
30
31 #define CC_TYPE_SPLIT_ROW (cc_split_row_get_type())
32 G_DECLARE_FINAL_TYPE (CcSplitRow, cc_split_row, CC, SPLIT_ROW, CcVerticalRow)
33
34 struct _CcSplitRowClass
35 {
36 CcVerticalRowClass parent_class;
37
38 /*< private >*/
39 gpointer padding[4];
40 };
41
42 void cc_split_row_set_default_illustration_resource (CcSplitRow *self,
43 const gchar *resource_path);
44
45 const gchar *cc_split_row_get_default_illustration_resource (CcSplitRow *self);
46
47 void cc_split_row_set_alternative_illustration_resource (CcSplitRow *self,
48 const gchar *resource_path);
49
50 const gchar *cc_split_row_get_alternative_illustration_resource (CcSplitRow *self);
51
52 void cc_split_row_set_use_default (CcSplitRow *self,
53 gboolean use_default);
54
55 gboolean cc_split_row_get_use_default (CcSplitRow *self);
56
57 void cc_split_row_set_compact (CcSplitRow *self,
58 gboolean compact);
59
60 gboolean cc_split_row_get_compact (CcSplitRow *self);
61
62 const gchar *cc_split_row_get_default_option_title (CcSplitRow *self);
63
64 void cc_split_row_set_default_option_title (CcSplitRow *self,
65 const gchar *title);
66 const gchar *cc_split_row_get_default_option_subtitle (CcSplitRow *self);
67
68 void cc_split_row_set_default_option_subtitle (CcSplitRow *self,
69 const gchar *subtitle);
70 const gchar *cc_split_row_get_alternative_option_title (CcSplitRow *self);
71
72 void cc_split_row_set_alternative_option_title (CcSplitRow *self,
73 const gchar *title);
74 const gchar *cc_split_row_get_alternative_option_subtitle (CcSplitRow *self);
75
76 void cc_split_row_set_alternative_option_subtitle (CcSplitRow *self,
77 const gchar *subtitle);
78
79 G_END_DECLS
80