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: Bastien Nocera <hadess@hadess.net>
22
#ifndef _CC_WACOM_NAV_BUTTON_H
23
#define _CC_WACOM_NAV_BUTTON_H
29
#define CC_TYPE_WACOM_NAV_BUTTON cc_wacom_nav_button_get_type()
31
#define CC_WACOM_NAV_BUTTON(obj) \
32
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
33
CC_TYPE_WACOM_NAV_BUTTON, CcWacomNavButton))
35
#define CC_WACOM_NAV_BUTTON_CLASS(klass) \
36
(G_TYPE_CHECK_CLASS_CAST ((klass), \
37
CC_TYPE_WACOM_NAV_BUTTON, CcWacomNavButtonClass))
39
#define CC_IS_WACOM_NAV_BUTTON(obj) \
40
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
41
CC_TYPE_WACOM_NAV_BUTTON))
43
#define CC_IS_WACOM_NAV_BUTTON_CLASS(klass) \
44
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
45
CC_TYPE_WACOM_NAV_BUTTON))
47
#define CC_WACOM_NAV_BUTTON_GET_CLASS(obj) \
48
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
49
CC_TYPE_WACOM_NAV_BUTTON, CcWacomNavButtonClass))
51
typedef struct _CcWacomNavButton CcWacomNavButton;
52
typedef struct _CcWacomNavButtonClass CcWacomNavButtonClass;
53
typedef struct _CcWacomNavButtonPrivate CcWacomNavButtonPrivate;
55
struct _CcWacomNavButton
59
CcWacomNavButtonPrivate *priv;
62
struct _CcWacomNavButtonClass
64
GtkBoxClass parent_class;
67
GType cc_wacom_nav_button_get_type (void) G_GNUC_CONST;
69
GtkWidget * cc_wacom_nav_button_new (void);
73
#endif /* _CC_WACOM_NAV_BUTTON_H */