root/BF_Roster.h

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

INCLUDED FROM


   1 #ifndef __BF_ROSTER_H__
   2 #define __BF_ROSTER_H__
   3 
   4 #include "BL_Tools.h"
   5 #include "BF_Node.h"
   6 
   7 ///////////////////////////////////////////////////////////////////////
   8 BF_Node*        BF_Roster_LoadNode(const char *pc_Path,const char *pc_NodeName,int i_Style);
   9 bool            BF_Roster_LoadNodeList(BF_Path &o_Path,BF_NodeList & lo_Node,int i_Style);
  10 bool            BF_Roster_LoadNodeList_Ext(BF_Path &o_Path,int i_Style,BView *po_View,int i_MessageIter,int i_MessageFinal);
  11 status_t        BF_Roster_LoadNodeRef(const char *pc_NodeFullPath,node_ref & u_Ref);
  12 status_t        BF_Roster_LoadEntryRef(const char *pc_NodeFullPath,entry_ref & u_Ref);
  13 bool            BF_Roster_ReloadNode(const char *pc_PathToNode,BF_Node*po_Node,int i_Style,bool b_PathIncludeName=false);
  14 
  15 status_t        BF_Roster_TraverseLink(const char *pc_Path,BL_String & s_Name);
  16 ///////////////////////////////////////////////////////////////////////
  17 #define BF_NODEINFO_NAME        1
  18 status_t        BF_Roster_GetNodeInfoByRef(BF_Node*po_Node,int i_Style);
  19 ///////////////////////////////////////////////////////////////////////
  20 status_t        BF_Roster_RunEntry(const BEntry & o_Entry,const char *pc_Args=NULL);
  21 int             BF_Roster_RunCommand(const BL_String s_Command);
  22 int             BF_Roster_RunFile(const char *pc_Path,const char *pc_File,const char *pc_Args=NULL);
  23 ///////////////////////////////////////////////////////////////////////
  24 bool            BF_Roster_RemoveNode(BF_Path & o_Path,BF_Node & o_Node);  
  25 status_t        BF_Roster_MakeLink(const char *pc_SrcFile,const char *pc_DestFile);
  26 ///////////////////////////////////////////////////////////////////////
  27 
  28 #define         BF_ROSTER_LOADVOLS_DEFAULT              0
  29 #define         BF_ROSTER_LOADVOLS_SICON                1
  30 #define         BF_ROSTER_LOADVOLS_LICON                2
  31 #define         BF_ROSTER_LOADVOLS_SPEC                 4
  32 
  33 void            BF_Roster_VolumeList_AddSpec(BF_NodeCollection &lo_NodeResult,int i_Styles);
  34 void            BF_Roster_VolumeList(BF_NodeList &lo_NodeResult,int i_Styles);
  35 
  36 ///////////////////////////////////////////////////////////////////////
  37 
  38 status_t        BF_Roster_MakeDir(const char *pc_Name);
  39 BF_Node*        BF_Roster_MakeDirNode(BF_Path &o_Path,const char *pc_Name=NULL,int i_Style=BF_ROSTER_LOAD_NORMAL);
  40 
  41 bool            BF_Roster_RemoveNode(const char *pc_Path);
  42 bool            BF_Roster_RemoveNode(BF_Path &o_Path,const char *pc_Node); 
  43 bool            BF_Roster_RemoveNode(BF_Path &o_Path,BF_Node* po_Node);
  44 status_t        BF_Roster_MoveNode(BF_Path &o_Path,BF_Node* po_Node,const char *pc_NewPath,const char *pc_NewName=NULL);
  45 status_t        BF_Roster_RenameNode(const BF_Path & o_Path,BF_Node* po_Node,const char *pc_NewName);
  46 
  47 bool            BF_Roster_NodeExists(const char *pc_Name);
  48 
  49 bool            BF_Roster_StartMonitor_Dir(BF_FilesPath &o_Path,BHandler *po_Handler);
  50 void            BF_Roster_StartMonitor_Node(BF_Node *po_Node,BHandler *po_Handler,int32 i_Flags=-1);
  51 void            BF_Roster_StartMonitor_Nodes(BF_NodeCollection &lo_Node,BHandler *po_Handler);
  52 
  53 void            BF_Roster_StopMonitor_Node(BF_Node *po_Node,BHandler *po_Handler);
  54 void            BF_Roster_StopMonitor_Nodes(BF_NodeCollection &lo_Node,BHandler *po_Handler);
  55 
  56 void            BF_Roster_StopAllMonitors(BHandler *po_Handler);
  57 ///////////////////////////////////////////////////////////////////////
  58 
  59 bool            BF_Roster_MIME_by_Name(BString & s_Name,BString & s_MIME);
  60 
  61 ///////////////////////////////////////////////////////////////////////
  62 

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