Move some dnd common code from view_dir_list.c and view_dir_tree.c
[geeqie.git] / src / view_dir_tree.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_TREE_H
13 #define VIEW_DIR_TREE_H
14
15 ViewDir *vdtree_new(const gchar *path);
16
17 gint vdtree_set_path(ViewDir *vdt, const gchar *path);
18 void vdtree_refresh(ViewDir *vdt);
19
20 const gchar *vdtree_row_get_path(ViewDir *vdt, gint row);
21 gint vdtree_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter, GtkTreeIter *parent);
22
23
24 #endif
25