Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

ResourceManager Class Reference

#include <ResourceManager.h>

Inheritance diagram for ResourceManager:

Inheritance graph
[legend]
Collaboration diagram for ResourceManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ResourceManager ()
 ~ResourceManager ()
wxBitmap GetImage (ResourceId res)
int GetDirectoryImageIndex (bool bHidden, bool bDropTarget)
int GetFileImageIndex (bool bHidden)
bool Activate (const wxString &sPathName)
wxString GetDescription (const wxString &sFileType)
int GetImageIndex (const wxString &sFileType, bool bHidden=false)
int GetLinkImageIndex (const wxString &sFileType, bool bHidden=false)
bool IsBinaryExecutable (const wxString &sFileType)

Private Types

typedef std::map< wxString,
int > 
TypeIndexMap

Private Member Functions

wxBitmap GetImageForFileType (const wxString &sFileType)
int AddImage (const wxString &sFileType, const wxBitmap &bmp)

Private Attributes

int nFolderIndexBase
int nFileIndexBase
ThemeHandlerthm
TypeIndexMap hImageIndex

Member Typedef Documentation

typedef std::map<wxString, int> ResourceManager::TypeIndexMap [private]
 

Definition at line 51 of file ResourceManager.h.


Constructor & Destructor Documentation

ResourceManager::ResourceManager  ) 
 

ResourceManager::~ResourceManager  ) 
 


Member Function Documentation

bool ResourceManager::Activate const wxString &  sPathName  ) 
 

int ResourceManager::AddImage const wxString &  sFileType,
const wxBitmap &  bmp
[private]
 

wxString ResourceManager::GetDescription const wxString &  sFileType  ) 
 

int ResourceManager::GetDirectoryImageIndex bool  bHidden,
bool  bDropTarget
 

int ResourceManager::GetFileImageIndex bool  bHidden  ) 
 

wxBitmap ResourceManager::GetImage ResourceId  res  ) 
 

wxBitmap ResourceManager::GetImageForFileType const wxString &  sFileType  )  [private]
 

int ResourceManager::GetImageIndex const wxString &  sFileType,
bool  bHidden = false
 

int ResourceManager::GetLinkImageIndex const wxString &  sFileType,
bool  bHidden = false
 

bool ResourceManager::IsBinaryExecutable const wxString &  sFileType  ) 
 


Member Data Documentation

TypeIndexMap ResourceManager::hImageIndex [private]
 

Definition at line 83 of file ResourceManager.h.

int ResourceManager::nFileIndexBase [private]
 

Definition at line 81 of file ResourceManager.h.

int ResourceManager::nFolderIndexBase [private]
 

Definition at line 80 of file ResourceManager.h.

ThemeHandler* ResourceManager::thm [private]
 

Definition at line 82 of file ResourceManager.h.


The documentation for this class was generated from the following file:
Generated on Wed Jan 25 08:14:52 2006 for Sherpa by doxygen 1.3.6