~ubuntu-branches/ubuntu/trusty/unity-control-center/trusty

« back to all changes in this revision

Viewing changes to shell/gnome-control-center.h

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2014-01-08 16:29:18 UTC
  • Revision ID: package-import@ubuntu.com-20140108162918-g29dd08tr913y2qh
Tags: upstream-14.04.0
ImportĀ upstreamĀ versionĀ 14.04.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2010 Intel, Inc.
 
3
 *
 
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.
 
8
 *
 
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
 
12
 * for more details.
 
13
 *
 
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
 
17
 *
 
18
 * Author: Thomas Wood <thos@gnome.org>
 
19
 */
 
20
 
 
21
#ifndef _GNOME_CONTROL_CENTER_H
 
22
#define _GNOME_CONTROL_CENTER_H
 
23
 
 
24
#include <glib-object.h>
 
25
#include "cc-shell.h"
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
#define GNOME_TYPE_CONTROL_CENTER gnome_control_center_get_type()
 
30
 
 
31
#define GNOME_CONTROL_CENTER(obj) \
 
32
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
 
33
  GNOME_TYPE_CONTROL_CENTER, GnomeControlCenter))
 
34
 
 
35
#define GNOME_CONTROL_CENTER_CLASS(klass) \
 
36
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
 
37
  GNOME_TYPE_CONTROL_CENTER, GnomeControlCenterClass))
 
38
 
 
39
#define GNOME_IS_CONTROL_CENTER(obj) \
 
40
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
 
41
  GNOME_TYPE_CONTROL_CENTER))
 
42
 
 
43
#define GNOME_IS_CONTROL_CENTER_CLASS(klass) \
 
44
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
 
45
  GNOME_TYPE_CONTROL_CENTER))
 
46
 
 
47
#define GNOME_CONTROL_CENTER_GET_CLASS(obj) \
 
48
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
 
49
  GNOME_TYPE_CONTROL_CENTER, GnomeControlCenterClass))
 
50
 
 
51
typedef struct _GnomeControlCenter GnomeControlCenter;
 
52
typedef struct _GnomeControlCenterClass GnomeControlCenterClass;
 
53
typedef struct _GnomeControlCenterPrivate GnomeControlCenterPrivate;
 
54
 
 
55
struct _GnomeControlCenter
 
56
{
 
57
  CcShell parent;
 
58
 
 
59
  GnomeControlCenterPrivate *priv;
 
60
};
 
61
 
 
62
struct _GnomeControlCenterClass
 
63
{
 
64
  CcShellClass parent_class;
 
65
};
 
66
 
 
67
GType gnome_control_center_get_type (void) G_GNUC_CONST;
 
68
 
 
69
GnomeControlCenter *gnome_control_center_new (void);
 
70
 
 
71
void gnome_control_center_present (GnomeControlCenter *center);
 
72
 
 
73
void gnome_control_center_show (GnomeControlCenter *center, GtkApplication *app);
 
74
 
 
75
void gnome_control_center_set_overview_page (GnomeControlCenter *center);
 
76
 
 
77
G_END_DECLS
 
78
 
 
79
#endif /* _GNOME_CONTROL_CENTER_H */