diff options
Diffstat (limited to 'src/caja-trash-bar.h')
-rw-r--r-- | src/caja-trash-bar.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/caja-trash-bar.h b/src/caja-trash-bar.h new file mode 100644 index 00000000..93b86986 --- /dev/null +++ b/src/caja-trash-bar.h @@ -0,0 +1,64 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Copyright (C) 2006 Paolo Borelli <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * Authors: Paolo Borelli <[email protected]> + * + */ + +#ifndef __CAJA_TRASH_BAR_H +#define __CAJA_TRASH_BAR_H + +#include "caja-window.h" + +#include <gtk/gtk.h> + +#ifdef __cplusplus +extern "C" { +#endif + +#define CAJA_TYPE_TRASH_BAR (caja_trash_bar_get_type ()) +#define CAJA_TRASH_BAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CAJA_TYPE_TRASH_BAR, CajaTrashBar)) +#define CAJA_TRASH_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), CAJA_TYPE_TRASH_BAR, CajaTrashBarClass)) +#define CAJA_IS_TRASH_BAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CAJA_TYPE_TRASH_BAR)) +#define CAJA_IS_TRASH_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CAJA_TYPE_TRASH_BAR)) +#define CAJA_TRASH_BAR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CAJA_TYPE_TRASH_BAR, CajaTrashBarClass)) + + typedef struct CajaTrashBarPrivate CajaTrashBarPrivate; + + typedef struct + { + GtkHBox box; + + CajaTrashBarPrivate *priv; + } CajaTrashBar; + + typedef struct + { + GtkHBoxClass parent_class; + } CajaTrashBarClass; + + GType caja_trash_bar_get_type (void) G_GNUC_CONST; + + GtkWidget *caja_trash_bar_new (CajaWindow *window); + + +#ifdef __cplusplus +} +#endif + +#endif /* __GS_TRASH_BAR_H */ |