2
* Copyright © 2012 Wacom.
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.
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.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
* Authors: Jason Gerecke <killertofu@gmail.com>
22
#ifndef CC_WACOM_MAPPING_PANEL_H_
23
#define CC_WACOM_MAPPING_PANEL_H_
29
#define CC_TYPE_WACOM_MAPPING_PANEL cc_wacom_mapping_panel_get_type()
31
#define CC_WACOM_MAPPING_PANEL(obj) \
32
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
33
CC_TYPE_WACOM_MAPPING_PANEL, CcWacomMappingPanel))
35
#define CC_WACOM_MAPPING_PANEL_CLASS(klass) \
36
(G_TYPE_CHECK_CLASS_CAST ((klass), \
37
CC_TYPE_WACOM_MAPPING_PANEL, CcWacomMappignPanelClass))
39
#define CC_IS_WACOM_MAPPING_PANEL(obj) \
40
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
41
CC_TYPE_WACOM_MAPPING_PANEL))
43
#define CC_IS_WACOM_MAPPING_PANEL_CLASS(klass) \
44
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
45
CC_TYPE_WACOM_MAPPING_PANEL))
47
#define CC_WACOM_MAPPING_PANEL_GET_CLASS(obj) \
48
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
49
CC_TYPE_WACOM_MAPPING_PANEL, CcWacomMappingPanelClass))
51
typedef struct _CcWacomMappingPanel CcWacomMappingPanel;
52
typedef struct _CcWacomMappingPanelClass CcWacomMappingPanelClass;
53
typedef struct _CcWacomMappingPanelPrivate CcWacomMappingPanelPrivate;
55
struct _CcWacomMappingPanel
59
CcWacomMappingPanelPrivate *priv;
62
struct _CcWacomMappingPanelClass
64
GtkBoxClass parent_class;
67
GType cc_wacom_mapping_panel_get_type (void) G_GNUC_CONST;
69
GtkWidget * cc_wacom_mapping_panel_new (void);
72
void cc_wacom_mapping_panel_set_device (CcWacomMappingPanel *self,
73
GsdWacomDevice *device);
77
#endif /* CC_WACOM_MAPPING_PANEL_H_ */