class CMimeInfo : public CBase |
Holds the localised names for a data type.
Public Member Functions | |
---|---|
~CMimeInfo () | |
IMPORT_C void | AddLanguageL ( TLanguageInfo ) |
void | ExternalizeL ( RWriteStream &) |
void | InternalizeL ( RReadStream &) |
TDataType | Mime () |
CMimeInfo * | NewL () |
IMPORT_C CMimeInfo * | NewLC ( TDataType &) |
CMimeInfo * | NewLC (const CMimeInfo *) |
CMimeInfo * | NewLC ( TResourceReader &) |
TTranslation | Text () |
Private Member Functions | |
---|---|
void | AddLanguageInfoL ( TResourceReader &) |
void | ConstructL () |
void | ConstructL ( TResourceReader &) |
Private Attributes | |
---|---|
CArrayFixFlat < TLanguageInfo > * | iLanguageInfo |
TDataType | iMime |
void | AddLanguageInfoL | ( | TResourceReader & | aReader | ) | [private] |
TResourceReader & aReader |
IMPORT_C void | AddLanguageL | ( | TLanguageInfo | aLang | ) |
Adds a localised name for the data type.
TLanguageInfo aLang | Localised name |
void | ConstructL | ( | TResourceReader & | aReader | ) | [private] |
TResourceReader & aReader |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
RWriteStream & aStream |
void | InternalizeL | ( | RReadStream & | aStream | ) |
RReadStream & aStream |
IMPORT_C CMimeInfo * | NewLC | ( | TDataType & | aMime | ) | [static] |
Allocates and constructs a CMimeInfo for a specified data type, leaving the object on the cleanup stack.
TDataType & aMime | Data type |
CMimeInfo * | NewLC | ( | const CMimeInfo * | aInfo | ) | [static] |
const CMimeInfo * aInfo |
CMimeInfo * | NewLC | ( | TResourceReader & | aReader | ) | [static] |
TResourceReader & aReader |
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
CArrayFixFlat < TLanguageInfo > * | iLanguageInfo | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.