|
|
|
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 heap.
CFileExtensionMIMEType - Class used to manage the mapping between an image's MIME type & file extensi...
Defined in CFileExtensionMIMEType:
DisplayName()constReturns the human-readable plugin description.FileExtension()constReturns the image file extension info.ImageSubType()constReturns the image sub-type associated with the plugin.ImageType()constReturns the image type associated with the plugin.ImplementationUid()constReturns the implementation UID of the plugin.MIMEType()constReturns the image MIME type info.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 c...~CFileExtensionMIMEType()Destructor.Inherited from CBase:
Delete(CBase *)Deletes the specified object.Extension_(TUint,TAny *&,TAny *)Extension function operator new(TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)Initialises the object to binary zeroes.operator new(TUint,TLeave)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static 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.
|