~ubuntu-branches/ubuntu/precise/gnome-control-center/precise-updates

1.1.45 by Rodrigo Moya
Import upstream version 3.0.1.1
1
/*
2
 * Copyright (C) 2010 Intel, 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, write to the Free Software
16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
 *
18
 * Author: Thomas Wood <thomas.wood@intel.com>
19
 *
20
 */
21
22
23
#ifndef _CC_MOUSE_PANEL_H
24
#define _CC_MOUSE_PANEL_H
25
26
#include <libgnome-control-center/cc-panel.h>
27
28
G_BEGIN_DECLS
29
30
#define CC_TYPE_MOUSE_PANEL cc_mouse_panel_get_type()
31
32
#define CC_MOUSE_PANEL(obj) \
33
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
34
  CC_TYPE_MOUSE_PANEL, CcMousePanel))
35
36
#define CC_MOUSE_PANEL_CLASS(klass) \
37
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
38
  CC_TYPE_MOUSE_PANEL, CcMousePanelClass))
39
40
#define CC_IS_MOUSE_PANEL(obj) \
41
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
42
  CC_TYPE_MOUSE_PANEL))
43
44
#define CC_IS_MOUSE_PANEL_CLASS(klass) \
45
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
46
  CC_TYPE_MOUSE_PANEL))
47
48
#define CC_MOUSE_PANEL_GET_CLASS(obj) \
49
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
50
  CC_TYPE_MOUSE_PANEL, CcMousePanelClass))
51
52
typedef struct _CcMousePanel CcMousePanel;
53
typedef struct _CcMousePanelClass CcMousePanelClass;
54
typedef struct _CcMousePanelPrivate CcMousePanelPrivate;
55
56
struct _CcMousePanel
57
{
58
  CcPanel parent;
59
60
  CcMousePanelPrivate *priv;
61
};
62
63
struct _CcMousePanelClass
64
{
65
  CcPanelClass parent_class;
66
};
67
68
GType cc_mouse_panel_get_type (void) G_GNUC_CONST;
69
70
void  cc_mouse_panel_register (GIOModule *module);
71
72
G_END_DECLS
73
74
#endif /* _CC_MOUSE_PANEL_H */