|
|
|
|
Location:
ImageConversion.h
Link against: imageconversion.lib
class CFileExtensionMIMEType : public CBase;
Class used to manage the mapping between an image's MIME type & file extension.
CBase - Base class for all classes to be instantiated on the heapCFileExtensionMIMEType - Class used to manage the mapping between an image's MIME type & file extensionDefined in CFileExtensionMIMEType:
DisplayName(), FileExtension(), ImageSubType(), ImageType(), ImplementationUid(), MIMEType(), NewLC(), ~CFileExtensionMIMEType()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
static IMPORT_C CFileExtensionMIMEType *NewLC(const TDesC8 &aExtn, const TDesC8 &aMIMEType, const TDesC &aDisplayName, TUid aImageType, TUid aImageSubType, TUid aImplementationUid);
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.
|
|
IMPORT_C ~CFileExtensionMIMEType();
Destructor.
Frees all resources owned by the object prior to its destruction.
IMPORT_C const TDesC &FileExtension() const;
Returns the image file extension info.
|
IMPORT_C const TDesC8 &MIMEType() const;
Returns the image MIME type info.
|
IMPORT_C const TDesC &DisplayName() const;
Returns the human-readable plugin description.
|
IMPORT_C TUid ImageType() const;
Returns the image type associated with the plugin.
|
IMPORT_C TUid ImageSubType() const;
Returns the image sub-type associated with the plugin.
|
IMPORT_C TUid ImplementationUid() const;
Returns the implementation UID of the plugin.
|