GCC Code Coverage Report


Directory: ./
File: panels/color/cc-color-calibrate.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 <glib-object.h>
25 #include <gtk/gtk.h>
26 #include <colord.h>
27
28 G_BEGIN_DECLS
29
30 #define CC_TYPE_COLOR_CALIBRATE (cc_color_calibrate_get_type ())
31 G_DECLARE_FINAL_TYPE (CcColorCalibrate, cc_color_calibrate, CC, COLOR_CALIBRATE, GObject)
32
33 CcColorCalibrate *cc_color_calibrate_new (void);
34 void cc_color_calibrate_set_kind (CcColorCalibrate *calibrate,
35 CdSensorCap kind);
36 void cc_color_calibrate_set_temperature (CcColorCalibrate *calibrate,
37 guint temperature);
38 void cc_color_calibrate_set_quality (CcColorCalibrate *calibrate,
39 CdProfileQuality quality);
40 CdProfileQuality cc_color_calibrate_get_quality (CcColorCalibrate *calibrate);
41 void cc_color_calibrate_set_device (CcColorCalibrate *calibrate,
42 CdDevice *device);
43 void cc_color_calibrate_set_sensor (CcColorCalibrate *calibrate,
44 CdSensor *sensor);
45 void cc_color_calibrate_set_title (CcColorCalibrate *calibrate,
46 const gchar *title);
47 gboolean cc_color_calibrate_start (CcColorCalibrate *calibrate,
48 GtkWindow *parent,
49 GError **error);
50 gboolean cc_color_calibrate_setup (CcColorCalibrate *calibrate,
51 GError **error);
52 CdProfile *cc_color_calibrate_get_profile (CcColorCalibrate *calibrate);
53
54 G_END_DECLS
55