diff options
Diffstat (limited to 'components/services/summary/nautilus-view/nautilus-summary-view.h')
-rw-r--r-- | components/services/summary/nautilus-view/nautilus-summary-view.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/components/services/summary/nautilus-view/nautilus-summary-view.h b/components/services/summary/nautilus-view/nautilus-summary-view.h new file mode 100644 index 000000000..094b92d4d --- /dev/null +++ b/components/services/summary/nautilus-view/nautilus-summary-view.h @@ -0,0 +1,60 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* + * Copyright (C) 2000 Eazel, Inc + * + * 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: J Shane Culpepper + */ + +#ifndef NAUTILUS_SUMMARY_VIEW_H +#define NAUTILUS_SUMMARY_VIEW_H + +#include <libnautilus/nautilus-view.h> +#include <gtk/gtk.h> + +typedef struct _NautilusSummaryView NautilusSummaryView; +typedef struct _NautilusSummaryViewClass NautilusSummaryViewClass; + +#define NAUTILUS_TYPE_SUMMARY_VIEW (nautilus_summary_view_get_type ()) +#define NAUTILUS_SUMMARY_VIEW(obj) (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_SUMMARY_VIEW, NautilusSummaryView)) +#define NAUTILUS_SUMMARY_VIEW_CLASS (klass) (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_SUMMARY_VIEW, NautilusSummaryViewClass)) +#define NAUTILUS_IS_SUMMARY_VIEW(obj) (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_SUMMARY_VIEW)) +#define NAUTILUS_IS_SUMMARY_VIEW_CLASS (klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_SUMMARY_VIEW)) + +typedef struct _NautilusSummaryViewDetails NautilusSummaryViewDetails; + +struct _NautilusSummaryView { + GtkEventBox parent; + NautilusSummaryViewDetails *details; +}; + +struct _NautilusSummaryViewClass { + GtkVBoxClass parent_class; +}; + +/* GtkObject support */ +GtkType nautilus_summary_view_get_type (void); + +/* Component embedding support */ +NautilusView *nautilus_summary_view_get_nautilus_view (NautilusSummaryView *view); + +/* URI handling */ +void nautilus_summary_view_load_uri (NautilusSummaryView *view, + const char *uri); + +#endif /* NAUTILUS_SUMMARY_VIEW_H */ + |