file extension description More...
#include <cfileselector.h>
Public Member Functions | |
| CFileExtension (const char *description, const char *extension, const char *mimeType=0, int macType=0) | |
| CFileExtension (const CFileExtension &ext) | |
| ~CFileExtension () | |
| const char * | getDescription () const |
| const char * | getExtension () const |
| const char * | getMimeType () const |
| int | getMacType () const |
| bool | operator== (const CFileExtension &ext) const |
Reference Counting Methods | |
| virtual void | forget () |
| decrease refcount and delete object if refcount == 0 | |
| virtual void | remember () |
| increase refcount | |
| long | getNbReference () const |
| get refcount | |
Message Methods | |
| virtual CMessageResult | notify (CBaseObject *sender, const char *message) |
Protected Member Functions | |
| void | init (const char *description, const char *extension, const char *mimeType) |
Protected Attributes | |
| char * | description |
| char * | extension |
| char * | mimeType |
| int | macType |
file extension description
| CFileExtension | ( | const char * | description, | |
| const char * | extension, | |||
| const char * | mimeType = 0, |
|||
| int | macType = 0 | |||
| ) |
| CFileExtension | ( | const CFileExtension & | ext | ) |
| ~CFileExtension | ( | ) |
| const char* getDescription | ( | ) | const [inline] |
| const char* getExtension | ( | ) | const [inline] |
| const char* getMimeType | ( | ) | const [inline] |
| int getMacType | ( | ) | const [inline] |
| bool operator== | ( | const CFileExtension & | ext | ) | const |
| void init | ( | const char * | description, | |
| const char * | extension, | |||
| const char * | mimeType | |||
| ) | [protected] |
| virtual void forget | ( | ) | [inline, virtual, inherited] |
decrease refcount and delete object if refcount == 0
Reimplemented in CDrawContext.
| virtual void remember | ( | ) | [inline, virtual, inherited] |
increase refcount
| long getNbReference | ( | ) | const [inline, inherited] |
get refcount
| virtual CMessageResult notify | ( | CBaseObject * | sender, | |
| const char * | message | |||
| ) | [inline, virtual, inherited] |
Reimplemented in CDataBrowser, CScrollbar, CTooltipSupport, CView, and CViewContainer.
char* description [protected] |
char* extension [protected] |
char* mimeType [protected] |
int macType [protected] |
1.6.3