Location:
convnames.h
Link against: convnames.lib
CCnvCharacterSetNames
Supported from 6.1
A localised list of the names of non-Unicode character set encodings supported on the device.
For each character conversion plug-in DLL, there are one or more resource files which contain the name of the encoding translated into a different language.
This class populates a list of the names of all encodings supported on the device by reading the appropriate resource file for each one. The list is sorted according to the collation rules for the device's current locale.
The virtual functions MdcaCount()
(returns the number of items in the list) and MdcaPoint()
(returns a TPtrC
for the item at the given index) are implemented privately in this class. Users of this class can call them through the MDesCArray
interface.
|
Defined in CCnvCharacterSetNames
:
IdentifierAtIndex()
, IndexOfIdentifier()
, NewL()
, NewLC()
, ~CCnvCharacterSetNames()
Inherited from CBase
:
operator new()
Inherited from MDesC16Array
:
MdcaCount()
,
MdcaPoint()
static CCnvCharacterSetNames* NewL(RFs& aFileServerSession, const TArray<CCnvCharacterSetConverter::SCharacterSet>& aArrayOfCharacterSetsAvailable);
Allocates and constructs a localised list of character set encoding names.
|
|
static CCnvCharacterSetNames* NewLC(RFs& aFileServerSession, const TArray<CCnvCharacterSetConverter::SCharacterSet>& aArrayOfCharacterSetsAvailable);
Allocates and constructs a localised list of character set encoding names. Puts a pointer to the object on the cleanup stack.
|
|
virtual ~CCnvCharacterSetNames();
Deletes the array of named plug-ins owned by the object prior to its destruction.
TInt IndexOfIdentifier(TUint aIdentifier) const;
Gets the index into the sorted list of the character set identifier specified.
|
|
TUint IdentifierAtIndex(TInt aIndex) const;
Gets the character set identifier at the specified index into the list.
|
|