2
* Copyright (C) 2010 Intel, 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
* Author: Sergey Udaltsov <svu@gnome.org>
23
#ifndef _CC_REGION_PANEL_H
24
#define _CC_REGION_PANEL_H
26
#include <libgnome-control-center/cc-panel.h>
30
#define CC_TYPE_REGION_PANEL cc_region_panel_get_type()
32
#define CC_REGION_PANEL(obj) \
33
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
34
CC_TYPE_REGION_PANEL, CcRegionPanel))
36
#define CC_REGION_PANEL_CLASS(klass) \
37
(G_TYPE_CHECK_CLASS_CAST ((klass), \
38
CC_TYPE_REGION_PANEL, CcRegionPanelClass))
40
#define CC_IS_REGION_PANEL(obj) \
41
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
42
CC_TYPE_REGION_PANEL))
44
#define CC_IS_REGION_PANEL_CLASS(klass) \
45
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
46
CC_TYPE_REGION_PANEL))
48
#define CC_REGION_PANEL_GET_CLASS(obj) \
49
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
50
CC_TYPE_REGION_PANEL, CcRegionPanelClass))
52
typedef struct _CcRegionPanel CcRegionPanel;
53
typedef struct _CcRegionPanelClass CcRegionPanelClass;
54
typedef struct _CcRegionPanelPrivate CcRegionPanelPrivate;
60
CcRegionPanelPrivate *priv;
63
struct _CcRegionPanelClass
65
CcPanelClass parent_class;
68
GType cc_region_panel_get_type (void) G_GNUC_CONST;
70
void cc_region_panel_register (GIOModule *module);
74
#endif /* _CC_REGION_PANEL_H */