2
* Copyright © 2011 Red Hat, Inc.
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: Peter Hutterer <peter.hutterer@redhat.com>
19
* Bastien Nocera <hadess@hadess.net>
23
#ifndef _CC_WACOM_PANEL_H
24
#define _CC_WACOM_PANEL_H
26
#include <shell/cc-panel.h>
30
#define CC_TYPE_WACOM_PANEL cc_wacom_panel_get_type()
32
#define CC_WACOM_PANEL(obj) \
33
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
34
CC_TYPE_WACOM_PANEL, CcWacomPanel))
36
#define CC_WACOM_PANEL_CLASS(klass) \
37
(G_TYPE_CHECK_CLASS_CAST ((klass), \
38
CC_TYPE_WACOM_PANEL, CcWacomPanelClass))
40
#define CC_IS_WACOM_PANEL(obj) \
41
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
44
#define CC_IS_WACOM_PANEL_CLASS(klass) \
45
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
48
#define CC_WACOM_PANEL_GET_CLASS(obj) \
49
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
50
CC_TYPE_WACOM_PANEL, CcWacomPanelClass))
52
typedef struct _CcWacomPanel CcWacomPanel;
53
typedef struct _CcWacomPanelClass CcWacomPanelClass;
54
typedef struct _CcWacomPanelPrivate CcWacomPanelPrivate;
60
CcWacomPanelPrivate *priv;
63
struct _CcWacomPanelClass
65
CcPanelClass parent_class;
68
GType cc_wacom_panel_get_type (void) G_GNUC_CONST;
70
void cc_wacom_panel_register (GIOModule *module);
72
void cc_wacom_panel_switch_to_panel (CcWacomPanel *self,
77
#endif /* _CC_WACOM_PANEL_H */