SkyGI::Mime Class Reference

Collaboration diagram for SkyGI::Mime:
[legend]
List of all members.

Public Member Functions

 Mime ()
 ~Mime ()
bool GetByIndex (int iIndex)
bool GetByExtension (const String &szExtension)
bool GetByMimeType (const String &szMimeType)
bool GetByPath (const String &szPath)
bool Set (void *hMimeType)
bool IsValid ()
String GetIconPath ()
ImageGetIcon (int iWidth=16, int iHeight=16)
String Get ()
std::vector< MimeHandlerGetHandlers ()

Classes

class  Private

Constructor & Destructor Documentation

Mime::Mime (  ) 

Mime::~Mime (  ) 


Member Function Documentation

bool Mime::GetByIndex ( int  iIndex  ) 

bool Mime::GetByExtension ( const String szExtension  ) 

bool Mime::GetByMimeType ( const String szMimeType  ) 

bool Mime::GetByPath ( const String szPath  ) 

Get mimetype information for specified file

Description:
Tries to get the mimetype for the specified file. This is done in following order: 1. Check if registrar knows about this file type by its extensions 2. Check if registrar knows about this file by its mimetype attribute (if there is any)
See also:
FileReference::GetMimeType

bool Mime::Set ( void *  hMimeType  ) 

bool Mime::IsValid (  ) 

String Mime::GetIconPath (  ) 

Image * Mime::GetIcon ( int  iWidth = 16,
int  iHeight = 16 
)

String Mime::Get (  ) 

std::vector< MimeHandler > Mime::GetHandlers (  ) 


Generated on Thu Dec 13 18:14:07 2007 for SkyGI by  doxygen 1.5.1-p1