Build file operation dialogs in normal order.
[midnight-commander.git] / src / filemanager / tree.h
bloba8c4f5016998214d86fce4da1b5b75fc0c63f92e
1 /** \file tree.h
2 * \brief Header: directory tree browser
3 */
5 #ifndef MC__TREE_H
6 #define MC__TREE_H
8 #include "lib/global.h"
10 /*** typedefs(not structures) and defined constants **********************************************/
12 /*** enums ***************************************************************************************/
14 /*** structures declarations (and typedefs of structures)*****************************************/
16 typedef struct WTree WTree;
18 /*** global variables defined in .c file *********************************************************/
20 extern WTree *the_tree;
21 extern int xtree_mode;
23 struct Dlg_head;
25 /*** declarations of public functions ************************************************************/
27 WTree *tree_new (int y, int x, int lines, int cols, gboolean is_panel);
29 void tree_chdir (WTree * tree, const char *dir);
30 vfs_path_t *tree_selected_name (const WTree * tree);
32 void sync_tree (const char *pathname);
34 WTree *find_tree (struct Dlg_head *h);
36 /*** inline functions ****************************************************************************/
37 #endif /* MC__TREE_H */