GCC Code Coverage Report


Directory: ./
File: panels/wacom/cc-tablet-tool-map.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 /*
2 * Copyright © 2016 Red Hat, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 *
17 * Authors: Carlos Garnacho <carlosg@gnome.org>
18 *
19 */
20
21 #pragma once
22
23 #include "config.h"
24 #include <gtk/gtk.h>
25 #include "cc-wacom-device.h"
26 #include "cc-wacom-tool.h"
27
28 G_BEGIN_DECLS
29
30 #define CC_TYPE_TABLET_TOOL_MAP (cc_tablet_tool_map_get_type ())
31 G_DECLARE_FINAL_TYPE (CcTabletToolMap, cc_tablet_tool_map, CC, TABLET_TOOL_MAP, GObject)
32
33 CcTabletToolMap * cc_tablet_tool_map_new (void);
34
35 GList * cc_tablet_tool_map_list_tools (CcTabletToolMap *map,
36 CcWacomDevice *device);
37 CcWacomTool * cc_tablet_tool_map_lookup_tool (CcTabletToolMap *map,
38 CcWacomDevice *device,
39 guint64 serial);
40 void cc_tablet_tool_map_add_relation (CcTabletToolMap *map,
41 CcWacomDevice *device,
42 CcWacomTool *tool);
43
44 G_END_DECLS
45