class CCnaConverter : public CBase |
Holds the inherent properties of a converter.
These are its UID and the data types it supports.
Note that the setter functions affect only the current object, not the stored information for the converter.
Public Member Functions | |
---|---|
~CCnaConverter() | |
IMPORT_C TInt | CountFrom() |
IMPORT_C TInt | CountTo() |
IMPORT_C TBool | MimeFrom(const TDataType &) |
IMPORT_C TDataType | MimeFrom(TInt) |
IMPORT_C TTranslation | MimeFromText(const TDataType &) |
IMPORT_C TTranslation | MimeFromText(TInt) |
IMPORT_C TBool | MimeTo(const TDataType &) |
IMPORT_C TDataType | MimeTo(TInt) |
IMPORT_C TTranslation | MimeToText(const TDataType &) |
IMPORT_C TTranslation | MimeToText(TInt) |
CCnaConverter * | NewL() |
IMPORT_C CCnaConverter * | NewL(TUid) |
IMPORT_C CCnaConverter * | NewL(const CCnaConverter &) |
CCnaConverter * | NewL(TUid, TResourceReader &) |
CCnaConverter * | NewLC() |
IMPORT_C CCnaConverter * | NewLC(TUid) |
IMPORT_C CCnaConverter * | NewLC(const CCnaConverter &) |
IMPORT_C void | SetUid(TUid) |
TUid | Uid() |
Private Member Functions | |
---|---|
CCnaConverter() | |
void | AddMimeDataL(TResourceReader &, CArrayPtrFlat< CMimeInfo > &) |
void | ConstructL() |
void | ConstructL(TUid, TResourceReader &) |
TBool | FindMime(const TDataType &, const CArrayPtrFlat< CMimeInfo > *) |
TTranslation | FindMimeText(const TDataType &, const CArrayPtrFlat< CMimeInfo > *) |
Private Attributes | |
---|---|
CArrayPtrFlat< CMimeInfo > * | iMimeFrom |
CArrayPtrFlat< CMimeInfo > * | iMimeTo |
TUid | iUid |
void | AddMimeDataL | ( | TResourceReader & | aReader, |
CArrayPtrFlat< CMimeInfo > & | aMimeInfo | |||
) | [private] |
TResourceReader & aReader | |
CArrayPtrFlat< CMimeInfo > & aMimeInfo |
void | ConstructL | ( | TUid | aUid, |
TResourceReader & | aReader | |||
) | [private] |
TUid aUid | |
TResourceReader & aReader |
TBool | FindMime | ( | const TDataType & | aMimeType, |
const CArrayPtrFlat< CMimeInfo > * | aList | |||
) | const [private] |
const TDataType & aMimeType | |
const CArrayPtrFlat< CMimeInfo > * aList |
TTranslation | FindMimeText | ( | const TDataType & | aMimeType, |
const CArrayPtrFlat< CMimeInfo > * | aList | |||
) | const [private] |
const TDataType & aMimeType | |
const CArrayPtrFlat< CMimeInfo > * aList |
IMPORT_C TBool | MimeFrom | ( | const TDataType & | aMimeType | ) | const |
const TDataType & aMimeType |
IMPORT_C TTranslation | MimeFromText | ( | const TDataType & | aMimeType | ) | const |
const TDataType & aMimeType |
IMPORT_C TBool | MimeTo | ( | const TDataType & | aMimeType | ) | const |
const TDataType & aMimeType |
IMPORT_C TTranslation | MimeToText | ( | const TDataType & | aMimeType | ) | const |
const TDataType & aMimeType |
IMPORT_C CCnaConverter * | NewL | ( | const CCnaConverter & | aConverter | ) | [static] |
const CCnaConverter & aConverter |
CCnaConverter * | NewL | ( | TUid | aUid, |
TResourceReader & | aReader | |||
) | [static] |
TUid aUid | |
TResourceReader & aReader |
IMPORT_C CCnaConverter * | NewLC | ( | const CCnaConverter & | aConverter | ) | [static] |
const CCnaConverter & aConverter |