CFileExtensionMIMEType Class Reference
class CFileExtensionMIMEType : public CBase |
Class used to manage the mapping between an image's MIME type & file extension.
Public Member Functions |
---|
| ~CFileExtensionMIMEType() |
IMPORT_C const TDesC & | DisplayName() |
IMPORT_C const TDesC & | FileExtension() |
IMPORT_C TUid | ImageSubType() |
IMPORT_C TUid | ImageType() |
IMPORT_C TUid | ImplementationUid() |
IMPORT_C const TDesC8 & | MIMEType() |
CFileExtensionMIMEType * | NewL(const TDesC8 &, const TDesC8 &, const TDesC &, TUid, TUid, TUid) |
IMPORT_C CFileExtensionMIMEType * | NewLC(const TDesC8 &, const TDesC8 &, const TDesC &, TUid, TUid, TUid) |
Constructor & Destructor Documentation
CFileExtensionMIMEType()
CFileExtensionMIMEType | ( | ) | [private] |
~CFileExtensionMIMEType()
IMPORT_C | ~CFileExtensionMIMEType | ( | ) | |
Destructor.
Frees all resources owned by the object prior to its destruction.
Member Functions Documentation
ConstructL(const TDesC8 &, const TDesC8 &, const TDesC &, TUid, TUid, TUid)
void | ConstructL | ( | const TDesC8 & | aExtn, |
| const TDesC8 & | aMIMEType, |
| const TDesC & | aDisplayName, |
| TUid | aImageType, |
| TUid | aImageSubType, |
| TUid | aImplementationUid |
| ) | [private] |
Second phase constructor.
Parameters
const TDesC8 & aExtn | The file extension |
const TDesC8 & aMIMEType | The associated MIME type. |
const TDesC & aDisplayName | The display name of the implementation |
TUid aImageType | The plugin decoder/encoder type UID. |
TUid aImageSubType | The plugin decoder/encoder sub-type UID. |
TUid aImplementationUid | The unique ID of the implementation. |
DisplayName()
IMPORT_C const TDesC & | DisplayName | ( | ) | const |
Returns the human-readable plugin description.
FileExtension()
IMPORT_C const TDesC & | FileExtension | ( | ) | const |
Returns the image file extension info.
ImageSubType()
IMPORT_C TUid | ImageSubType | ( | ) | const |
Returns the image sub-type associated with the plugin.
ImageType()
IMPORT_C TUid | ImageType | ( | ) | const |
Returns the image type associated with the plugin.
ImplementationUid()
IMPORT_C TUid | ImplementationUid | ( | ) | const |
Returns the implementation UID of the plugin.
MIMEType()
IMPORT_C const TDesC8 & | MIMEType | ( | ) | const |
Returns the image MIME type info.
NewL(const TDesC8 &, const TDesC8 &, const TDesC &, TUid, TUid, TUid)
Constructs a new file extension/MIME type entry.
A leave occurs if there is insufficient memory available.
Parameters
const TDesC8 & aExtn | The file extension. |
const TDesC8 & aMIMEType | The associated MIME type. |
const TDesC & aDisplayName | The display name of the implementation |
TUid aImageType | The plugin decoder/encoder type UID. |
TUid aImageSubType | The plugin decoder/encoder sub-type UID. |
TUid aImplementationUid | The unique ID of the implementation. |
NewLC(const TDesC8 &, const TDesC8 &, const TDesC &, TUid, TUid, TUid)
Constructs a new file extension/MIME type entry. The new object is left on the clean-up stack.
A leave occurs if there is insufficient memory available.
Parameters
const TDesC8 & aExtn | The file extension. |
const TDesC8 & aMIMEType | The associated MIME type. |
const TDesC & aDisplayName | The display name of the implementation |
TUid aImageType | The plugin decoder/encoder type UID. |
TUid aImageSubType | The plugin decoder/encoder sub-type UID. |
TUid aImplementationUid | The unique ID of the implementation. |
Member Data Documentation
HBufC * iDisplayName
HBufC * | iDisplayName | [private] |
HBufC * iFileExtension
HBufC * | iFileExtension | [private] |
TUid
iImageSubTypeUid
TUid
| iImageSubTypeUid | [private] |
TUid
iImageTypeUid
TUid
| iImageTypeUid | [private] |
TUid
iImplementationUid
TUid
| iImplementationUid | [private] |
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.