root/_ArcPanel/BF_GUI_ArcPanel.h

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

INCLUDED FROM


   1 #ifndef __BF_GUI_ARCPANEL_H__
   2 #define __BF_GUI_ARCPANEL_H__
   3 
   4 #include "BF_GUI_NodePanel.h" 
   5 #include "BL_Tools.h"
   6 
   7 class BF_GUI_ArcPanel:public BF_GUI_NodePanel{
   8 public:
   9                                                 BF_GUI_ArcPanel(const BRect & o_Rect,bool b_WinPos_OnLeft);
  10                                                 ~BF_GUI_ArcPanel();
  11                 void                    Init(BL_String s_ArcFilename, BL_String s_InnerDir);
  12 virtual void                    RefreshNodeList();
  13 virtual bool                    NavEnter();             
  14 virtual void                    MessageReceived(BMessage* po_Message);
  15 virtual bool                    OnKeyDown(const char *bytes, int32 numBytes);
  16 
  17 private:
  18         BBitmap         *poFolderSIcon, *poDocSIcon;
  19 
  20         BL_String               sArcFilename, // name of archive file for which panel has been created
  21                                 sInnerDir,      // name of directory currently open in the archive
  22                                 sTempFile;      // name of temp file where we redirect archiver output
  23 };
  24 
  25 void
  26 BF_GUI_ArcPanel_OpenFile(const char *pc_Path,const char *pc_FileName,bool b_PosLeft);
  27 
  28 
  29 
  30 #define IS_EMPTY(s) (s.CountChars() == 0)
  31 #define IS_EMPTY_PTR(ps) (ps->CountChars() == 0)
  32 

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