1 /*
2 
3 Copyright (c) 2001-2007 Michael Terry
4 Copyright (c) 2013-2014 Arthur Borsboom
5 
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
10 
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 
20 */
21 
22 #ifndef __XPAD_GRIP_TOOL_ITEM_H__
23 #define __XPAD_GRIP_TOOL_ITEM_H__
24 
25 #include <gtk/gtk.h>
26 
27 G_BEGIN_DECLS
28 
29 #define XPAD_TYPE_GRIP_TOOL_ITEM          (xpad_grip_tool_item_get_type ())
30 #define XPAD_GRIP_TOOL_ITEM(o)            (G_TYPE_CHECK_INSTANCE_CAST ((o), XPAD_TYPE_GRIP_TOOL_ITEM, XpadGripToolItem))
31 #define XPAD_GRIP_TOOL_ITEM_CLASS(k)      (G_TYPE_CHECK_CLASS_CAST((k), XPAD_TYPE_GRIP_TOOL_ITEM, XpadGripToolItemClass))
32 #define XPAD_IS_GRIP_TOOL_ITEM(o)         (G_TYPE_CHECK_INSTANCE_TYPE ((o), XPAD_TYPE_GRIP_TOOL_ITEM))
33 #define XPAD_IS_GRIP_TOOL_ITEM_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), XPAD_TYPE_GRIP_TOOL_ITEM))
34 #define XPAD_GRIP_TOOL_ITEM_GET_CLASS(o)  (G_TYPE_INSTANCE_GET_CLASS ((o), XPAD_TYPE_GRIP_TOOL_ITEM, XpadGripToolItemClass))
35 
36 typedef struct XpadGripToolItemClass XpadGripToolItemClass;
37 typedef struct XpadGripToolItemPrivate XpadGripToolItemPrivate;
38 typedef struct XpadGripToolItem XpadGripToolItem;
39 
40 struct XpadGripToolItem
41 {
42 	GtkToolItem parent;
43 	XpadGripToolItemPrivate *priv;
44 };
45 
46 struct XpadGripToolItemClass
47 {
48 	GtkToolItemClass parent_class;
49 };
50 
51 GType xpad_grip_tool_item_get_type (void);
52 
53 GtkToolItem *xpad_grip_tool_item_new (void);
54 
55 G_END_DECLS
56 
57 #endif /* __XPAD_GRIP_TOOL_ITEM_H__ */
58