CCnaConverter Class Reference
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.
Constructor & Destructor Documentation
Member Functions Documentation
AddMimeDataL(TResourceReader &, CArrayPtrFlat< CMimeInfo > &)
ConstructL()
void | ConstructL | ( | ) | [private] |
ConstructL(TUid, TResourceReader &)
CountFrom()
IMPORT_C TInt | CountFrom | ( | ) | const |
Gets the number of source data types for the converter.
CountTo()
IMPORT_C TInt | CountTo | ( | ) | const |
Gets the number of target data types for the converter.
FindMime(const TDataType &, const CArrayPtrFlat< CMimeInfo > *)
FindMimeText(const TDataType &, const CArrayPtrFlat< CMimeInfo > *)
MimeFrom(const TDataType &)
Tests if the specified source data type is available.
MimeFrom(TInt)
Gets the n'th source data type of the converter.
Parameters
TInt aIndex | Index of the source data type to get |
MimeFromText(const TDataType &)
Gets the localised name of the specified source data type.
MimeFromText(TInt)
Gets the localised name of the n'th source data type.
Parameters
TInt aIndex | Index of the source data type |
MimeTo(const TDataType &)
Tests if the specified target data type is available.
MimeTo(TInt)
Gets the n'th target data type of the converter.
Parameters
TInt aIndex | Index of the target data type to get |
MimeToText(const TDataType &)
Gets the localised name of the specified target data type.
MimeToText(TInt)
Gets the localised name of the n'th target data type.
Parameters
TInt aIndex | Index of the target data type |
NewL(TUid)
Allocates and constructs a CCnaConverter for a specified converter.
NewL(const CCnaConverter &)
NewL(TUid, TResourceReader &)
NewLC(TUid)
Allocates and constructs a CCnaConverter for a specified converter, leaving the object on the cleanup stack.
NewLC(const CCnaConverter &)
Allocates and copies a new CCnaConverter, leaving the object on the cleanup stack.
SetUid(TUid)
IMPORT_C void | SetUid | ( | TUid | aUid | ) | |
Member Data Documentation
CArrayPtrFlat< CMimeInfo > * iMimeFrom
CArrayPtrFlat< CMimeInfo > * iMimeTo
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.