2 * \brief Header: directory tree browser
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
;
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 WDialog
*h
);
36 /*** inline functions ****************************************************************************/
37 #endif /* MC__TREE_H */