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

« back to all changes in this revision

Viewing changes to shell/cc-shell-item-view.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 _CC_SHELL_ITEM_VIEW_H
 
22
#define _CC_SHELL_ITEM_VIEW_H
 
23
 
 
24
#include <gtk/gtk.h>
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
#define CC_TYPE_SHELL_ITEM_VIEW cc_shell_item_view_get_type()
 
29
 
 
30
#define CC_SHELL_ITEM_VIEW(obj) \
 
31
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
 
32
  CC_TYPE_SHELL_ITEM_VIEW, CcShellItemView))
 
33
 
 
34
#define CC_SHELL_ITEM_VIEW_CLASS(klass) \
 
35
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
 
36
  CC_TYPE_SHELL_ITEM_VIEW, CcShellItemViewClass))
 
37
 
 
38
#define CC_IS_SHELL_ITEM_VIEW(obj) \
 
39
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
 
40
  CC_TYPE_SHELL_ITEM_VIEW))
 
41
 
 
42
#define CC_IS_SHELL_ITEM_VIEW_CLASS(klass) \
 
43
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
 
44
  CC_TYPE_SHELL_ITEM_VIEW))
 
45
 
 
46
#define CC_SHELL_ITEM_VIEW_GET_CLASS(obj) \
 
47
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
 
48
  CC_TYPE_SHELL_ITEM_VIEW, CcShellItemViewClass))
 
49
 
 
50
typedef struct _CcShellItemView CcShellItemView;
 
51
typedef struct _CcShellItemViewClass CcShellItemViewClass;
 
52
typedef struct _CcShellItemViewPrivate CcShellItemViewPrivate;
 
53
 
 
54
struct _CcShellItemView
 
55
{
 
56
  GtkIconView parent;
 
57
 
 
58
  CcShellItemViewPrivate *priv;
 
59
};
 
60
 
 
61
struct _CcShellItemViewClass
 
62
{
 
63
  GtkIconViewClass parent_class;
 
64
};
 
65
 
 
66
GType cc_shell_item_view_get_type (void) G_GNUC_CONST;
 
67
 
 
68
GtkWidget *cc_shell_item_view_new (void);
 
69
 
 
70
void cc_shell_item_view_update_cells (CcShellItemView *view);
 
71
 
 
72
G_END_DECLS
 
73
 
 
74
#endif /* _CC_SHELL_ITEM_VIEW_H */