1 /* -*- Mode: C; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 3 -*- */
2 
3 /*
4  * GImageView
5  * Copyright (C) 2001-2002 Takuro Ashie
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20  *
21  * $Id: detailview_priv.h,v 1.3 2003/06/18 09:26:54 makeinu Exp $
22  */
23 
24 #ifndef __DETAILVIEW_PRIVATE_H__
25 #define __DETAILVIEW_PRIVATE_H__
26 
27 /* for converting thumbnail data to string */
28 typedef gchar *(*DetailViewColDataStr) (GimvThumb *thumb);
29 
30 typedef struct DetailViewColumn_Tag {
31    gchar                *title;  /* column title */
32    gint                  width;  /* Column width. Currentry, this value not used */
33    gboolean              free;   /* Free after setting text data to columns or not */
34    DetailViewColDataStr  func;   /* Pointer to function convert data to string */
35    GtkJustification      justification;
36    gboolean              need_sync;
37 } DetailViewColumn;
38 
39 
40 void detailview_create_title_idx_list ();
41 
42 
43 extern DetailViewColumn detailview_columns[];
44 extern gint             detailview_columns_num;
45 
46 
47 extern GtkTargetEntry detailview_dnd_targets[];
48 extern const gint detailview_dnd_targets_num;
49 
50 
51 extern GList           *detailview_title_idx_list;
52 extern gint             detailview_title_idx_list_num;
53 
54 #endif /*__DETAILVIEW_PRIVATE_H__ */
55