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 gboolean xtree_mode
;
23 /*** declarations of public functions ************************************************************/
25 WTree
*tree_new (const WRect
* r
, gboolean is_panel
);
27 void tree_chdir (WTree
* tree
, const vfs_path_t
* dir
);
28 const vfs_path_t
*tree_selected_name (const WTree
* tree
);
30 void sync_tree (const vfs_path_t
* vpath
);
32 WTree
*find_tree (const WDialog
* h
);
34 /*** inline functions ****************************************************************************/
35 #endif /* MC__TREE_H */