1
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
3
* Copyright (C) 2010 Richard Hughes <richard@hughsie.com>
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_NETWORK_PANEL_H
23
#define _CC_NETWORK_PANEL_H
25
#include <libgnome-control-center/cc-panel.h>
29
#define CC_TYPE_NETWORK_PANEL cc_network_panel_get_type()
31
#define CC_NETWORK_PANEL(obj) \
32
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
33
CC_TYPE_NETWORK_PANEL, CcNetworkPanel))
35
#define CC_NETWORK_PANEL_CLASS(klass) \
36
(G_TYPE_CHECK_CLASS_CAST ((klass), \
37
CC_TYPE_NETWORK_PANEL, CcNetworkPanelClass))
39
#define CC_IS_NETWORK_PANEL(obj) \
40
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
41
CC_TYPE_NETWORK_PANEL))
43
#define CC_IS_NETWORK_PANEL_CLASS(klass) \
44
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
45
CC_TYPE_NETWORK_PANEL))
47
#define CC_NETWORK_PANEL_GET_CLASS(obj) \
48
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
49
CC_TYPE_NETWORK_PANEL, CcNetworkPanelClass))
51
typedef struct _CcNetworkPanel CcNetworkPanel;
52
typedef struct _CcNetworkPanelClass CcNetworkPanelClass;
53
typedef struct _CcNetworkPanelPrivate CcNetworkPanelPrivate;
55
struct _CcNetworkPanel
58
CcNetworkPanelPrivate *priv;
61
struct _CcNetworkPanelClass
63
CcPanelClass parent_class;
66
GType cc_network_panel_get_type (void) G_GNUC_CONST;
68
void cc_network_panel_register (GIOModule *module);
72
#endif /* _CC_NETWORK_PANEL_H */