#include <imageconversion.h>
Link against: imageconversion.lib
| class CFileExtensionMIMEType : public CBase |
| 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) |
Class used to manage the mapping between an image's MIME type & file extension.
| IMPORT_C | ~CFileExtensionMIMEType | ( | ) |
Destructor.
Frees all resources owned by the object prior to its destruction.
| IMPORT_C const TDesC & | DisplayName | ( | ) | const |
Returns the human-readable plugin description.
| IMPORT_C const TDesC & | FileExtension | ( | ) | const |
Returns the image file extension info.
| IMPORT_C TUid | ImageSubType | ( | ) | const |
Returns the image sub-type associated with the plugin.
| IMPORT_C TUid | ImageType | ( | ) | const |
Returns the image type associated with the plugin.
| IMPORT_C TUid | ImplementationUid | ( | ) | const |
Returns the implementation UID of the plugin.
| IMPORT_C const TDesC8 & | MIMEType | ( | ) | const |
Returns the image MIME type info.
| CFileExtensionMIMEType * | NewL | ( | const TDesC8 & | aExtn, |
| const TDesC8 & | aMIMEType, | |||
| const TDesC & | aDisplayName, | |||
| TUid | aImageType, | |||
| TUid | aImageSubType, | |||
| TUid | aImplementationUid | |||
| ) | [static] | |||
Constructs a new file extension/MIME type entry.
A leave occurs if there is insufficient memory available.
| Parameters | |
|---|---|
| aExtn | The file extension. |
| aMIMEType | The associated MIME type. |
| aDisplayName | The display name of the implementation |
| aImageType | The plugin decoder/encoder type UID. |
| aImageSubType | The plugin decoder/encoder sub-type UID. |
| aImplementationUid | The unique ID of the implementation. |
| IMPORT_C CFileExtensionMIMEType * | NewLC | ( | const TDesC8 & | aExtn, |
| const TDesC8 & | aMIMEType, | |||
| const TDesC & | aDisplayName, | |||
| TUid | aImageType, | |||
| TUid | aImageSubType, | |||
| TUid | aImplementationUid | |||
| ) | [static] | |||
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 | |
|---|---|
| aExtn | The file extension. |
| aMIMEType | The associated MIME type. |
| aDisplayName | The display name of the implementation |
| aImageType | The plugin decoder/encoder type UID. |
| aImageSubType | The plugin decoder/encoder sub-type UID. |
| aImplementationUid | The unique ID of the implementation. |