mtpfws/mtpfw/dataproviders/dputility/inc/cmtpextensionmapping.h
branchRCL_3
changeset 19 ef55b168cedb
parent 0 d0791faffa3f
equal deleted inserted replaced
16:3673b591050c 19:ef55b168cedb
    32 	static CMTPExtensionMapping* NewL(const TDesC& aExtension, TMTPFormatCode aFormatCode,const TDesC& aMIMEType);
    32 	static CMTPExtensionMapping* NewL(const TDesC& aExtension, TMTPFormatCode aFormatCode,const TDesC& aMIMEType);
    33 	~CMTPExtensionMapping();
    33 	~CMTPExtensionMapping();
    34 	
    34 	
    35 	const TDesC& Extension() const;
    35 	const TDesC& Extension() const;
    36 	TMTPFormatCode FormatCode() const;
    36 	TMTPFormatCode FormatCode() const;
       
    37 	TUint16 SubFormatCode() const;
    37 	const TDesC& MIMEType() const;
    38 	const TDesC& MIMEType() const;
    38 	TUint32 DpId() const;
    39 	TUint32 DpId() const;
    39 	TUint EnumerationFlag() const;
    40 	TUint EnumerationFlag() const;
    40 	
    41 	
    41 	void SetExtensionL(const TDesC& aExtension);
    42 	void SetExtensionL(const TDesC& aExtension);
    42 	void SetMIMETypeL(const TDesC& aMIMEType);
    43 	void SetMIMETypeL(const TDesC& aMIMEType);
    43 	void SetDpId(const TUint32 aDpId);
    44 	void SetDpId(const TUint32 aDpId);
    44 	void SetFormatCode(const TMTPFormatCode aFormatCode);
    45 	void SetFormatCode(const TMTPFormatCode aFormatCode);
       
    46 	void SetSubFormatCode(TUint16  aSubFormatCode);
    45 	void SetEnumerationFlag(const TUint aNeedFileDp);
    47 	void SetEnumerationFlag(const TUint aNeedFileDp);
    46 	
    48 	
    47 	static TInt Compare(const CMTPExtensionMapping& aFirst, const CMTPExtensionMapping& aSecond);
    49 	static TInt Compare(const CMTPExtensionMapping& aFirst, const CMTPExtensionMapping& aSecond);
    48 	static TInt ComparewithMIME(const CMTPExtensionMapping& aFirst, const CMTPExtensionMapping& aSecond);
    50 	static TInt ComparewithMIME(const CMTPExtensionMapping& aFirst, const CMTPExtensionMapping& aSecond);
    49 	
    51 	
    55 	HBufC* iExtension;
    57 	HBufC* iExtension;
    56 	TMTPFormatCode iFormatCode;
    58 	TMTPFormatCode iFormatCode;
    57 	HBufC* iMIMEType;
    59 	HBufC* iMIMEType;
    58 	TUint32 iDpId;
    60 	TUint32 iDpId;
    59 	TUint   iNeedFileDp;
    61 	TUint   iNeedFileDp;
       
    62 	TUint16  iSubFormatCode;
    60 	};
    63 	};
    61 
    64 
    62 #endif // CMTPEXTENSIONMAPPING_H
    65 #endif // CMTPEXTENSIONMAPPING_H