root/src/filemanager/tree.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 /** \file tree.h
   2  *  \brief Header: directory tree browser
   3  */
   4 
   5 #ifndef MC__TREE_H
   6 #define MC__TREE_H
   7 
   8 #include "lib/global.h"
   9 
  10 /*** typedefs(not structures) and defined constants **********************************************/
  11 
  12 /*** enums ***************************************************************************************/
  13 
  14 /*** structures declarations (and typedefs of structures)*****************************************/
  15 
  16 typedef struct WTree WTree;
  17 
  18 /*** global variables defined in .c file *********************************************************/
  19 
  20 extern WTree *the_tree;
  21 extern gboolean xtree_mode;
  22 
  23 /*** declarations of public functions ************************************************************/
  24 
  25 WTree *tree_new (const WRect * r, gboolean is_panel);
  26 
  27 void tree_chdir (WTree * tree, const vfs_path_t * dir);
  28 const vfs_path_t *tree_selected_name (const WTree * tree);
  29 
  30 void sync_tree (const vfs_path_t * vpath);
  31 
  32 WTree *find_tree (const WDialog * h);
  33 
  34 /*** inline functions ****************************************************************************/
  35 #endif /* MC__TREE_H */

/* [previous][next][first][last][top][bottom][index][help]  */