Introduce a new struct ViewDir to handle directory views common
[geeqie.git] / src / view_dir_list.h
1 /*
2  * Geeqie
3  * (C) 2004 John Ellis
4  *
5  * Author: John Ellis
6  *
7  * This software is released under the GNU General Public License (GNU GPL).
8  * Please read the included file COPYING for more information.
9  * This software comes with no warranty of any kind, use at your own risk!
10  */
11
12 #ifndef VIEW_DIR_LIST_H
13 #define VIEW_DIR_LIST_H
14
15
16 ViewDir *vdlist_new(const gchar *path);
17
18 gint vdlist_set_path(ViewDir *vdl, const gchar *path);
19 void vdlist_refresh(ViewDir *vdl);
20
21 const gchar *vdlist_row_get_path(ViewDir *vdl, gint row);
22
23
24 #endif
25
26