1
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
3
* Copyright (C) 2010 Red Hat, Inc
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
#ifndef _CC_SCREEN_PANEL_H
23
#define _CC_SCREEN_PANEL_H
25
#include <shell/cc-panel.h>
29
#define CC_TYPE_SCREEN_PANEL cc_screen_panel_get_type()
31
#define CC_SCREEN_PANEL(obj) \
32
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
33
CC_TYPE_SCREEN_PANEL, CcScreenPanel))
35
#define CC_SCREEN_PANEL_CLASS(klass) \
36
(G_TYPE_CHECK_CLASS_CAST ((klass), \
37
CC_TYPE_SCREEN_PANEL, CcScreenPanelClass))
39
#define CC_IS_SCREEN_PANEL(obj) \
40
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
41
CC_TYPE_SCREEN_PANEL))
43
#define CC_IS_SCREEN_PANEL_CLASS(klass) \
44
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
45
CC_TYPE_SCREEN_PANEL))
47
#define CC_SCREEN_PANEL_GET_CLASS(obj) \
48
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
49
CC_TYPE_SCREEN_PANEL, CcScreenPanelClass))
51
typedef struct _CcScreenPanel CcScreenPanel;
52
typedef struct _CcScreenPanelClass CcScreenPanelClass;
53
typedef struct _CcScreenPanelPrivate CcScreenPanelPrivate;
59
CcScreenPanelPrivate *priv;
62
struct _CcScreenPanelClass
64
CcPanelClass parent_class;
67
GType cc_screen_panel_get_type (void) G_GNUC_CONST;
69
void cc_screen_panel_register (GIOModule *module);
73
#endif /* _CC_SCREEN_PANEL_H */