1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 
3 /* fm-list-view.h - interface for list view of directory.
4 
5    Copyright (C) 2000 Eazel, Inc.
6    Copyright (C) 2001 Anders Carlsson <andersca@gnu.org>
7 
8    The Gnome Library is free software; you can redistribute it and/or
9    modify it under the terms of the GNU Library General Public License as
10    published by the Free Software Foundation; either version 2 of the
11    License, or (at your option) any later version.
12 
13    The Gnome Library 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 GNU
16    Library General Public License for more details.
17 
18    You should have received a copy of the GNU Library General Public
19    License along with the Gnome Library; see the file COPYING.LIB.  If not,
20    write to the Free Software Foundation, Inc., 51 Franklin Street - Suite 500,
21    Boston, MA 02110-1335, USA.
22 
23    Authors: John Sullivan <sullivan@eazel.com>
24             Anders Carlsson <andersca@gnu.org>
25 */
26 
27 #ifndef NEMO_LIST_VIEW_H
28 #define NEMO_LIST_VIEW_H
29 
30 #include "nemo-view.h"
31 
32 #define NEMO_TYPE_LIST_VIEW nemo_list_view_get_type()
33 #define NEMO_LIST_VIEW(obj) \
34   (G_TYPE_CHECK_INSTANCE_CAST ((obj), NEMO_TYPE_LIST_VIEW, NemoListView))
35 #define NEMO_LIST_VIEW_CLASS(klass) \
36   (G_TYPE_CHECK_CLASS_CAST ((klass), NEMO_TYPE_LIST_VIEW, NemoListViewClass))
37 #define NEMO_IS_LIST_VIEW(obj) \
38   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NEMO_TYPE_LIST_VIEW))
39 #define NEMO_IS_LIST_VIEW_CLASS(klass) \
40   (G_TYPE_CHECK_CLASS_TYPE ((klass), NEMO_TYPE_LIST_VIEW))
41 #define NEMO_LIST_VIEW_GET_CLASS(obj) \
42   (G_TYPE_INSTANCE_GET_CLASS ((obj), NEMO_TYPE_LIST_VIEW, NemoListViewClass))
43 
44 #define NEMO_LIST_VIEW_ID "OAFIID:Nemo_File_Manager_List_View"
45 
46 typedef struct NemoListViewDetails NemoListViewDetails;
47 
48 typedef struct {
49 	NemoView parent_instance;
50 	NemoListViewDetails *details;
51 } NemoListView;
52 
53 typedef struct {
54 	NemoViewClass parent_class;
55 } NemoListViewClass;
56 
57 GType nemo_list_view_get_type (void);
58 void  nemo_list_view_register (void);
59 GtkTreeView* nemo_list_view_get_tree_view (NemoListView *list_view);
60 
61 #endif /* NEMO_LIST_VIEW_H */
62