2008-04-30 Cosimo Cecchi <cosimoc@gnome.org>
[nautilus.git] / src / nautilus-trash-bar.h
blob04795f602647dadd1d1c5cb26ad82d5222fc00cc
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Copyright (C) 2006 Paolo Borelli <pborelli@katamail.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.
19 * Authors: Paolo Borelli <pborelli@katamail.com>
23 #ifndef __NAUTILUS_TRASH_BAR_H
24 #define __NAUTILUS_TRASH_BAR_H
26 #include <gtk/gtk.h>
28 G_BEGIN_DECLS
30 #define NAUTILUS_TYPE_TRASH_BAR (nautilus_trash_bar_get_type ())
31 #define NAUTILUS_TRASH_BAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), NAUTILUS_TYPE_TRASH_BAR, NautilusTrashBar))
32 #define NAUTILUS_TRASH_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), NAUTILUS_TYPE_TRASH_BAR, NautilusTrashBarClass))
33 #define NAUTILUS_IS_TRASH_BAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), NAUTILUS_TYPE_TRASH_BAR))
34 #define NAUTILUS_IS_TRASH_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), NAUTILUS_TYPE_TRASH_BAR))
35 #define NAUTILUS_TRASH_BAR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), NAUTILUS_TYPE_TRASH_BAR, NautilusTrashBarClass))
37 typedef struct NautilusTrashBarPrivate NautilusTrashBarPrivate;
39 typedef struct
41 GtkHBox box;
43 NautilusTrashBarPrivate *priv;
44 } NautilusTrashBar;
46 typedef struct
48 GtkHBoxClass parent_class;
49 } NautilusTrashBarClass;
51 GType nautilus_trash_bar_get_type (void) G_GNUC_CONST;
53 GtkWidget *nautilus_trash_bar_new (void);
55 G_END_DECLS
57 #endif /* __GS_TRASH_BAR_H */