Make directory view popup menu common and move it to view_dir.{c,h}.
[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(ViewDir *vd, const gchar *path);
16
17 gint vdtree_set_path(ViewDir *vd, const gchar *path);
18 void vdtree_refresh(ViewDir *vd);
19
20 const gchar *vdtree_row_get_path(ViewDir *vd, gint row);
21 gint vdtree_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter, GtkTreeIter *parent);
22
23 FileData *vdtree_populate_path(ViewDir *vd, const gchar *path, gint expand, gint force);
24 void vdtree_rename_by_data(ViewDir *vd, FileData *fd);
25
26 #endif
27