2008-04-30 Cosimo Cecchi <cosimoc@gnome.org>
[nautilus.git] / src / nautilus-emblem-sidebar.h
blobafe47b0a08725054205ff749ba5d5266ede2cf9f
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
3 /*
4 * Nautilus
6 * Copyright (C) 1999, 2000 Eazel, Inc.
8 * Nautilus is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * Nautilus is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 * This is the header file for the index panel widget, which displays oversidebar information
24 * in a vertical panel and hosts the meta-sidebars.
27 #ifndef NAUTILUS_EMBLEM_SIDEBAR_H
28 #define NAUTILUS_EMBLEM_SIDEBAR_H
30 #include <gtk/gtkvbox.h>
32 #define NAUTILUS_TYPE_EMBLEM_SIDEBAR \
33 (nautilus_emblem_sidebar_get_type ())
34 #define NAUTILUS_EMBLEM_SIDEBAR(obj) \
35 (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_EMBLEM_SIDEBAR, NautilusEmblemSidebar))
36 #define NAUTILUS_EMBLEM_SIDEBAR_CLASS(klass) \
37 (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_EMBLEM_SIDEBAR, NautilusEmblemSidebarClass))
38 #define NAUTILUS_IS_EMBLEM_SIDEBAR(obj) \
39 (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_EMBLEM_SIDEBAR))
40 #define NAUTILUS_IS_EMBLEM_SIDEBAR_CLASS(klass) \
41 (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_EMBLEM_SIDEBAR))
43 #define NAUTILUS_EMBLEM_SIDEBAR_ID "NautilusEmblemSidebar"
45 typedef struct NautilusEmblemSidebarDetails NautilusEmblemSidebarDetails;
47 typedef struct {
48 GtkVBox parent_slot;
49 NautilusEmblemSidebarDetails *details;
50 } NautilusEmblemSidebar;
52 typedef struct {
53 GtkVBoxClass parent_slot;
55 } NautilusEmblemSidebarClass;
57 GType nautilus_emblem_sidebar_get_type (void);
58 void nautilus_emblem_sidebar_register (void);
60 #endif /* NAUTILUS_EMBLEM_SIDEBAR_H */