CMimeInfo Class Reference

class CMimeInfo : public CBase

Holds the localised names for a data type.

Inherits from

Constructor & Destructor Documentation

~CMimeInfo()

IMPORT_C~CMimeInfo()

Destructor.

Member Functions Documentation

AddLanguageInfoL(TResourceReader &)

voidAddLanguageInfoL(TResourceReader &aReader)[private]

Parameters

TResourceReader & aReader

AddLanguageL(TLanguageInfo)

IMPORT_C voidAddLanguageL(TLanguageInfoaLang)

Adds a localised name for the data type.

Parameters

TLanguageInfo aLangLocalised name

ConstructL()

voidConstructL()[private]

ConstructL(TResourceReader &)

voidConstructL(TResourceReader &aReader)[private]

Parameters

TResourceReader & aReader

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

Mime()

TDataType Mime()

NewL()

CMimeInfo *NewL()[static]

NewLC(TDataType &)

IMPORT_C CMimeInfo *NewLC(TDataType &aMime)[static]

Allocates and constructs a CMimeInfo for a specified data type, leaving the object on the cleanup stack.

Parameters

TDataType & aMimeData type

NewLC(const CMimeInfo *)

CMimeInfo *NewLC(const CMimeInfo *aInfo)[static]

Parameters

const CMimeInfo * aInfo

NewLC(TResourceReader &)

CMimeInfo *NewLC(TResourceReader &aReader)[static]

Parameters

TResourceReader & aReader

Text()

TTranslation Text()

return the translation for the current language if the current lanuage does not exist the use english or the first in the list

Member Data Documentation

CArrayFixFlat< TLanguageInfo > * iLanguageInfo

CArrayFixFlat< TLanguageInfo > *iLanguageInfo[private]

TDataType iMime

TDataType iMime[private]