~elementary-os/elementaryos/os-patch-gnome-control-center-precise

« back to all changes in this revision

Viewing changes to panels/info/cc-info-panel.h

  • Committer: Sergey "Shnatsel" Davidoff
  • Date: 2012-05-18 13:02:50 UTC
  • Revision ID: shnatsel@gmail.com-20120518130250-2u99ldq61a42rbt7
Initial import, version 1:3.4.1-0ubuntu2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
 
2
 *
 
3
 * Copyright (C) 2010 Red Hat, Inc
 
4
 *
 
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.
 
9
 *
 
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.
 
14
 *
 
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.
 
18
 *
 
19
 */
 
20
 
 
21
 
 
22
#ifndef _CC_INFO_PANEL_H
 
23
#define _CC_INFO_PANEL_H
 
24
 
 
25
#include <shell/cc-panel.h>
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
#define CC_TYPE_INFO_PANEL cc_info_panel_get_type()
 
30
 
 
31
#define CC_INFO_PANEL(obj) \
 
32
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
 
33
  CC_TYPE_INFO_PANEL, CcInfoPanel))
 
34
 
 
35
#define CC_INFO_PANEL_CLASS(klass) \
 
36
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
 
37
  CC_TYPE_INFO_PANEL, CcInfoPanelClass))
 
38
 
 
39
#define CC_IS_INFO_PANEL(obj) \
 
40
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
 
41
  CC_TYPE_INFO_PANEL))
 
42
 
 
43
#define CC_IS_INFO_PANEL_CLASS(klass) \
 
44
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
 
45
  CC_TYPE_INFO_PANEL))
 
46
 
 
47
#define CC_INFO_PANEL_GET_CLASS(obj) \
 
48
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
 
49
  CC_TYPE_INFO_PANEL, CcInfoPanelClass))
 
50
 
 
51
typedef struct _CcInfoPanel CcInfoPanel;
 
52
typedef struct _CcInfoPanelClass CcInfoPanelClass;
 
53
typedef struct _CcInfoPanelPrivate CcInfoPanelPrivate;
 
54
 
 
55
struct _CcInfoPanel
 
56
{
 
57
  CcPanel parent;
 
58
 
 
59
  CcInfoPanelPrivate *priv;
 
60
};
 
61
 
 
62
struct _CcInfoPanelClass
 
63
{
 
64
  CcPanelClass parent_class;
 
65
};
 
66
 
 
67
GType cc_info_panel_get_type (void) G_GNUC_CONST;
 
68
 
 
69
void  cc_info_panel_register (GIOModule *module);
 
70
 
 
71
G_END_DECLS
 
72
 
 
73
#endif /* _CC_INFO_PANEL_H */