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>
22
#ifndef _CC_SHELL_CATEGORY_VIEW_H
23
#define _CC_SHELL_CATEGORY_VIEW_H
26
#include "cc-shell-item-view.h"
30
#define CC_TYPE_SHELL_CATEGORY_VIEW cc_shell_category_view_get_type()
32
#define CC_SHELL_CATEGORY_VIEW(obj) \
33
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
34
CC_TYPE_SHELL_CATEGORY_VIEW, CcShellCategoryView))
36
#define CC_SHELL_CATEGORY_VIEW_CLASS(klass) \
37
(G_TYPE_CHECK_CLASS_CAST ((klass), \
38
CC_TYPE_SHELL_CATEGORY_VIEW, CcShellCategoryViewClass))
40
#define CC_IS_SHELL_CATEGORY_VIEW(obj) \
41
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
42
CC_TYPE_SHELL_CATEGORY_VIEW))
44
#define CC_IS_SHELL_CATEGORY_VIEW_CLASS(klass) \
45
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
46
CC_TYPE_SHELL_CATEGORY_VIEW))
48
#define CC_SHELL_CATEGORY_VIEW_GET_CLASS(obj) \
49
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
50
CC_TYPE_SHELL_CATEGORY_VIEW, CcShellCategoryViewClass))
52
typedef struct _CcShellCategoryView CcShellCategoryView;
53
typedef struct _CcShellCategoryViewClass CcShellCategoryViewClass;
54
typedef struct _CcShellCategoryViewPrivate CcShellCategoryViewPrivate;
56
struct _CcShellCategoryView
60
CcShellCategoryViewPrivate *priv;
63
struct _CcShellCategoryViewClass
65
GtkFrameClass parent_class;
68
GType cc_shell_category_view_get_type (void) G_GNUC_CONST;
70
GtkWidget *cc_shell_category_view_new (const gchar *name,
72
CcShellItemView* cc_shell_category_view_get_item_view (CcShellCategoryView *self);
76
#endif /* _CC_SHELL_CATEGORY_VIEW_H */