GCC Code Coverage Report


Directory: ./
File: panels/color/cc-color-device.h
Date: 2024-05-03 09:46:52
Exec Total Coverage
Lines: 0 1 0.0%
Functions: 0 2 0.0%
Branches: 0 6 0.0%

Line Branch Exec Source
1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2 *
3 * Copyright (C) 2012 Richard Hughes <richard@hughsie.com>
4 *
5 * Licensed under the GNU General Public License Version 2
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 2 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, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21
22 #pragma once
23
24 #include <gtk/gtk.h>
25 #include <colord.h>
26
27 G_BEGIN_DECLS
28
29 #define CC_TYPE_COLOR_DEVICE (cc_color_device_get_type ())
30 G_DECLARE_FINAL_TYPE (CcColorDevice, cc_color_device, CC, COLOR_DEVICE, GtkListBoxRow)
31
32 GtkWidget *cc_color_device_new (CdDevice *device);
33 CdDevice *cc_color_device_get_device (CcColorDevice *color_device);
34 const gchar *cc_color_device_get_sortable (CcColorDevice *color_device);
35 void cc_color_device_set_expanded (CcColorDevice *color_device,
36 gboolean expanded);
37
38 G_END_DECLS
39