1
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
3
* Copyright (C) 2010 Red Hat, Inc
4
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
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 2 of the License, or
9
* (at your option) any later version.
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.
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.
23
#ifndef _CC_COLOR_PANEL_H
24
#define _CC_COLOR_PANEL_H
26
#include <shell/cc-panel.h>
30
#define CC_TYPE_COLOR_PANEL cc_color_panel_get_type()
32
#define CC_COLOR_PANEL(obj) \
33
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
34
CC_TYPE_COLOR_PANEL, CcColorPanel))
36
#define CC_COLOR_PANEL_CLASS(klass) \
37
(G_TYPE_CHECK_CLASS_CAST ((klass), \
38
CC_TYPE_COLOR_PANEL, CcColorPanelClass))
40
#define CC_IS_COLOR_PANEL(obj) \
41
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
44
#define CC_IS_COLOR_PANEL_CLASS(klass) \
45
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
48
#define CC_COLOR_PANEL_GET_CLASS(obj) \
49
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
50
CC_TYPE_COLOR_PANEL, CcColorPanelClass))
52
typedef struct _CcColorPanel CcColorPanel;
53
typedef struct _CcColorPanelClass CcColorPanelClass;
54
typedef struct _CcColorPanelPrivate CcColorPanelPrivate;
60
CcColorPanelPrivate *priv;
63
struct _CcColorPanelClass
65
CcPanelClass parent_class;
68
GType cc_color_panel_get_type (void) G_GNUC_CONST;
70
void cc_color_panel_register (GIOModule *module);
74
#endif /* _CC_COLOR_PANEL_H */