GCC Code Coverage Report


Directory: ./
File: panels/color/cc-color-profile.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 /* -*- 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_PROFILE (cc_color_profile_get_type ())
30 G_DECLARE_FINAL_TYPE (CcColorProfile, cc_color_profile, CC, COLOR_PROFILE, GtkListBoxRow)
31
32 GtkWidget *cc_color_profile_new (CdDevice *device,
33 CdProfile *profile,
34 gboolean is_default);
35 gboolean cc_color_profile_get_is_default (CcColorProfile *color_profile);
36 void cc_color_profile_set_is_default (CcColorProfile *color_profile,
37 gboolean profile_is_default);
38 CdDevice *cc_color_profile_get_device (CcColorProfile *color_profile);
39 CdProfile *cc_color_profile_get_profile (CcColorProfile *color_profile);
40 const gchar *cc_color_profile_get_sortable (CcColorProfile *color_profile);
41
42 G_END_DECLS
43
44