CMmfRecognizerUtil Class Reference
| class CMmfRecognizerUtil : public CBase |
MMF utility class used by MMF recognizer Maintains an array of CMMFControllerImplementationInformation objects so that data headers can be speedily matched against. Updates the array when notified by ECOM of a change to the global interface implementation registration data.
| Private Attributes |
|---|
| CBody * | iBody |
Constructor & Destructor Documentation
CMmfRecognizerUtil()
| CMmfRecognizerUtil | ( | ) | [private] |
constructor for MMF Recognizer utility class
Member Functions Documentation
ConstructL()
| void | ConstructL | ( | ) | [private] |
GetMimeTypeL(const TDesC &, const TDesC8 &, TDes8 &)
Determine whether the supplied data header on its own is recognized, or the data header plus the file suffix together are recognized, and if so return the associated MIME type.
-
leave
- KErrUnderflow Not enough data in descriptor to identify whether it is supported by any plugin.
-
leave
- This method may also leave with one of the system-wide error codes.
- Post-condition
- If recognized, the caller's descriptor is filled with the MIME types
Parameters
| const TDesC & aFileName | The name of the file |
| const TDesC8 & aImageData | A descriptor containing the header |
| TDes8 & aMimeType | A user-supplied descriptor in which the MIME type is returned |
GetMimeTypesL(CDesC8Array *)
| IMPORT_C void | GetMimeTypesL | ( | CDesC8Array * | aMimeTypes | ) | [static] |
Get all the mime types supported by MMF
- leave
- This method may leave with one of the system-wide error codes.
- Post-condition
- The caller's array is filled with the supported MIME types
Parameters
| CDesC8Array * aMimeTypes | A caller-supplied array of descriptors. |
NewL()
Static factory constructor. Uses two phase construction and leaves nothing on the cleanup stack
Member Enumerations Documentation
Enum TMatchLevel
Enumerators
| EMatchNone | |
| EMatchData | |
| EMatchName | |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.