2
* Copyright (c) 2010 Intel, Inc.
4
* The Control Center is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by the
6
* Free Software Foundation; either version 2 of the License, or (at your
7
* option) any later version.
9
* The Control Center is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
* You should have received a copy of the GNU General Public License along
15
* with the Control Center; if not, write to the Free Software Foundation,
16
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
* Author: Thomas Wood <thos@gnome.org>
21
#ifndef _GNOME_CONTROL_CENTER_H
22
#define _GNOME_CONTROL_CENTER_H
24
#include <glib-object.h>
29
#define GNOME_TYPE_CONTROL_CENTER gnome_control_center_get_type()
31
#define GNOME_CONTROL_CENTER(obj) \
32
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
33
GNOME_TYPE_CONTROL_CENTER, GnomeControlCenter))
35
#define GNOME_CONTROL_CENTER_CLASS(klass) \
36
(G_TYPE_CHECK_CLASS_CAST ((klass), \
37
GNOME_TYPE_CONTROL_CENTER, GnomeControlCenterClass))
39
#define GNOME_IS_CONTROL_CENTER(obj) \
40
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
41
GNOME_TYPE_CONTROL_CENTER))
43
#define GNOME_IS_CONTROL_CENTER_CLASS(klass) \
44
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
45
GNOME_TYPE_CONTROL_CENTER))
47
#define GNOME_CONTROL_CENTER_GET_CLASS(obj) \
48
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
49
GNOME_TYPE_CONTROL_CENTER, GnomeControlCenterClass))
51
typedef struct _GnomeControlCenter GnomeControlCenter;
52
typedef struct _GnomeControlCenterClass GnomeControlCenterClass;
53
typedef struct _GnomeControlCenterPrivate GnomeControlCenterPrivate;
55
struct _GnomeControlCenter
59
GnomeControlCenterPrivate *priv;
62
struct _GnomeControlCenterClass
64
CcShellClass parent_class;
67
GType gnome_control_center_get_type (void) G_GNUC_CONST;
69
GnomeControlCenter *gnome_control_center_new (void);
71
void gnome_control_center_present (GnomeControlCenter *center);
73
void gnome_control_center_show (GnomeControlCenter *center, GtkApplication *app);
75
void gnome_control_center_set_overview_page (GnomeControlCenter *center);
79
#endif /* _GNOME_CONTROL_CENTER_H */