GCC Code Coverage Report


Directory: ./
File: panels/common/cc-list-row.h
Date: 2024-05-03 09:46:52
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 1 1 100.0%
Branches: 3 6 50.0%

Line Branch Exec Source
1 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* cc-list-row.h
3 *
4 * Copyright 2019 Purism SPC
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 3 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(s):
20 * Mohammed Sadiq <sadiq@sadiqpk.org>
21 *
22 * SPDX-License-Identifier: GPL-3.0-or-later
23 */
24
25 #pragma once
26
27 #include <adwaita.h>
28 #include <gtk/gtk.h>
29
30 G_BEGIN_DECLS
31
32 #define CC_TYPE_LIST_ROW (cc_list_row_get_type())
33
3/6
✗ Branch 1 not taken.
✓ Branch 2 taken 11 times.
✓ Branch 3 taken 11 times.
✗ Branch 4 not taken.
✓ Branch 5 taken 11 times.
✗ Branch 6 not taken.
11 G_DECLARE_FINAL_TYPE (CcListRow, cc_list_row, CC, LIST_ROW, AdwActionRow)
34
35 void cc_list_row_set_show_arrow (CcListRow *self,
36 gboolean show_arrow);
37 void cc_list_row_set_secondary_label (CcListRow *self,
38 const gchar *label);
39 void cc_list_row_set_secondary_markup (CcListRow *self,
40 const gchar *markup);
41
42 G_END_DECLS
43