2008-05-05 Paolo Borelli <pborelli@katamail.com>
[nautilus.git] / src / nautilus-information-panel.h
blobd3385fb834d3b00337daa89d99c31c6082180fbb
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
22 * Author: Andy Hertzfeld <andy@eazel.com>
24 * This is the header file for the index panel widget, which displays overview information
25 * in a vertical panel and hosts the meta-views.
28 #ifndef NAUTILUS_INFORMATION_PANEL_H
29 #define NAUTILUS_INFORMATION_PANEL_H
31 #include <eel/eel-background-box.h>
33 #define NAUTILUS_TYPE_INFORMATION_PANEL \
34 (nautilus_information_panel_get_type ())
35 #define NAUTILUS_INFORMATION_PANEL(obj) \
36 (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_INFORMATION_PANEL, NautilusInformationPanel))
37 #define NAUTILUS_INFORMATION_PANEL_CLASS(klass) \
38 (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_INFORMATION_PANEL, NautilusInformationPanelClass))
39 #define NAUTILUS_IS_INFORMATION_PANEL(obj) \
40 (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_INFORMATION_PANEL))
41 #define NAUTILUS_IS_INFORMATION_PANEL_CLASS(klass) \
42 (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_INFORMATION_PANEL))
44 typedef struct NautilusInformationPanelDetails NautilusInformationPanelDetails;
46 #define NAUTILUS_INFORMATION_PANEL_ID "NautilusInformationPanel"
48 typedef struct {
49 EelBackgroundBox parent_slot;
50 NautilusInformationPanelDetails *details;
51 } NautilusInformationPanel;
53 typedef struct {
54 EelBackgroundBoxClass parent_slot;
56 void (*location_changed) (NautilusInformationPanel *information_panel,
57 const char *location);
58 } NautilusInformationPanelClass;
60 GType nautilus_information_panel_get_type (void);
61 void nautilus_information_panel_register (void);
63 #endif /* NAUTILUS_INFORMATION_PANEL_H */