1
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
3
* Copyright (C) 2010 Red Hat, Inc.
4
* Copyright (C) 2010 Intel, Inc
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.
20
* Authors: William Jon McCann <jmccann@redhat.com>
21
* Thomas Wood <thomas.wood@intel.com>
28
#include <glib-object.h>
34
#define CC_TYPE_PANEL (cc_panel_get_type ())
35
#define CC_PANEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_TYPE_PANEL, CcPanel))
36
#define CC_PANEL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), CC_TYPE_PANEL, CcPanelClass))
37
#define CC_IS_PANEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_TYPE_PANEL))
38
#define CC_IS_PANEL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_TYPE_PANEL))
39
#define CC_PANEL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_TYPE_PANEL, CcPanelClass))
41
typedef struct CcPanelPrivate CcPanelPrivate;
43
typedef struct _CcPanel CcPanel;
44
typedef struct _CcPanelClass CcPanelClass;
46
/* cc-shell.h requires CcPanel, so make sure it is defined first */
52
* The contents of this struct are private and should not be accessed directly.
63
* The contents of this struct are private and should not be accessed directly.
68
GtkBinClass parent_class;
70
GPermission * (* get_permission) (CcPanel *panel);
73
GType cc_panel_get_type (void);
75
CcShell* cc_panel_get_shell (CcPanel *panel);
77
GPermission *cc_panel_get_permission (CcPanel *panel);
81
#endif /* __CC_PANEL_H */