Inheritance diagram for XFcCFLResourceFilter:
Public Member Functions | |
virtual XFCIMPORT | ~XFcCFLResourceFilter () |
Virtual destructor. | |
Static Public Member Functions | |
XFCIMPORT INT8 * | unhandle (const XFcCFLResource *aRes, UINT32 aCompressionFlags) |
Decompresses, decrypts and reverse processes data. | |
XFCIMPORT XFcCFLResource * | handle (const INT8 *aData, UINT32 aDataSize, UINT32 &aCompressionFlags) |
Compresses, encrypts and processes data. | |
XFCIMPORT const CHAR * | handlerInfoString (UINT32 aTag) |
Returns a printable string of the handler. | |
XFCIMPORT const CHAR * | handlerShortName (UINT32 aTag) |
Returns a printable short name of the handler. | |
XFCIMPORT void | enumerateHandlers (XFcCFLEnumerator *aEnumerator) |
Enumerates handlers (for GUI use generally). | |
XFCIMPORT void | enableHandler (UINT32 aTag, INT aState) |
Enables or disables handlers (for GUI use generally). | |
XFCIMPORT void | setKey (UINT32 aTag, void *aKey) |
Sets key for encrypter. | |
Public Attributes | |
XFcCFLResourceFilter * | mNext |
Pointer to the next handler, or NULL if at end of list. | |
Protected Member Functions | |
XFcCFLResourceFilter () | |
Protected constructor. | |
virtual void | process (INT8 *aDataIn, INT8 **aDataOut, UINT32 aDataInSize, UINT32 &aDataOutSize)=0 |
Processes (e.g. compress, encrypt..) data. | |
virtual void | reverseProcess (INT8 *aDatain, INT8 **aDataout, UINT32 aDataInSize, UINT32 &aDataOutSize)=0 |
Reverse processes (e.g. decompress, decrypt..) data. | |
virtual void | setCipherKey (void *aKey) |
Sets the cipher key. | |
Static Protected Member Functions | |
void | registerHandler (XFcCFLResourceFilter *aHandler) |
Registers a handler. | |
XFcCFLResourceFilter * | findHandler (UINT32 aTag) |
Finds a handler for a tag. | |
Protected Attributes | |
CHAR * | mInfoString |
Pointer to a printable info string. | |
CHAR * | mShortName |
Pointer to a printable short name (10 chars or less preferably). | |
INT | mEnabled |
Boolean flag, indicates if this handler is enabled or not. | |
UINT32 | mTag |
Tag of the current handler. |
|
Protected constructor. Constructor must:
|
|
Virtual destructor.
|
|
Enables or disables handlers (for GUI use generally).
|
|
Enumerates handlers (for GUI use generally).
|
|
Finds a handler for a tag.
|
|
Compresses, encrypts and processes data.
|
|
Returns a printable string of the handler.
|
|
Returns a printable short name of the handler.
|
|
Processes (e.g. compress, encrypt..) data.
Implemented in XFcCFLFilterZlib, and XFcCFLFilterNone. |
|
Registers a handler.
|
|
Reverse processes (e.g. decompress, decrypt..) data.
Implemented in XFcCFLFilterZlib, and XFcCFLFilterNone. |
|
Sets the cipher key.
|
|
Sets key for encrypter.
|
|
Decompresses, decrypts and reverse processes data.
|
|
Boolean flag, indicates if this handler is enabled or not.
|
|
Pointer to a printable info string.
|
|
Pointer to the next handler, or NULL if at end of list.
|
|
Pointer to a printable short name (10 chars or less preferably).
|
|
Tag of the current handler.
Tag format: |
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |