class CPtiCoreLanguage : public CBase |
Implementation class for a PtiEngine language. This class is used mainly in PtiEngine and core objects code and it implements clients side language interface class. PtiEngine maintains language list containing instances of this class. CPtiCoreLanguage class also maintains list of <core <-> input mode> bindings.
Private Member Functions | |
---|---|
CPtiCoreLanguage () | |
void | Clear () |
void | ConstructL () |
CPtiCore * | GetCoreForNumericMode () |
void | LoadKeymappingsL () |
void | SetCoreLocal ( MPtiCore *, TPtiEngineInputMode ) |
Private Attributes | |
---|---|
RArray < TPtiCoreBinding > | iCores |
CPtiKeyMapDataFactory * | iDataFactory |
TPtiKeyMappingsHolder * | iHolder |
CPtiKeyMapData * | iKeyMapData |
TInt | iLanguageCode |
TBuf < KMaxLanguageNameLength > | iLocalizedName |
IMPORT_C CPtiKeyMapDataFactory * | DataFactory | ( | ) | const |
Returns active data factory.
IMPORT_C void | GetAvailableInputModesL | ( | CArrayFix < TInt > * | aResult | ) |
Returns an array of available input modes for this language object.
IMPORT_C void | GetAvailableInputModesL | ( | RArray < TInt > & | aResult | ) |
Returns an array of available input modes for this language object.
IMPORT_C MPtiCore * | GetCore | ( | TPtiEngineInputMode | aMode | ) |
Returns core object for given input mode.
Input mode to be queried.
TPtiEngineInputMode aMode |
IMPORT_C MPtiKeyMappings * | GetHalfQwertyKeymappings | ( | ) | const |
Returns pointer to half qwerty keymappings object.
IMPORT_C MPtiKeyMappings * | GetKeymappings | ( | ) | const |
Returns pointer to multitapping keymappings object.
IMPORT_C MPtiKeyMappings * | GetQwertyKeymappings | ( | ) | const |
Returns pointer to qwerty keymappings object.
IMPORT_C TBool | HasCore | ( | MPtiCore * | aCore | ) | const |
Returns a boolean value indicating whether given core object is already asigned to some input mode for this language.
MPtiCore * aCore | A core object to be queried. |
IMPORT_C TBool | HasInputMode | ( | TPtiEngineInputMode | aMode | ) | const |
Returns a boolean value indicating whether this language supports given input mode.
TPtiEngineInputMode aMode | Input mode to be queried. |
TInt | LanguageCode | ( | ) | const [inline] |
Returns Symbian OS language code for this language object.
TPtrC | LocalizedName | ( | ) | const [inline] |
Returns constant descriptor pointing to localized name for this language.
IMPORT_C TDes & | LocalizedNameDes | ( | ) |
Returns descriptor pointing to localized language name.
IMPORT_C CPtiKeyMapData * | RawKeyMapData | ( | ) | const |
Returns raw keymap data object.
IMPORT_C void | RemoveCore | ( | MPtiCore * | aCore | ) |
Removes detachs given core object from all input modes it is attached to.
MPtiCore * aCore | A core object to be detached. |
IMPORT_C void | SetCore | ( | MPtiCore * | aCore, |
TPtiEngineInputMode | aMode | |||
) |
Sets core object for given input mode. If input mode already has a core object asigned to it, it will be replaced.
MPtiCore * aCore | Pointer to core object |
TPtiEngineInputMode aMode | Input mode for core object. |
void | SetCoreLocal | ( | MPtiCore * | aCore, |
TPtiEngineInputMode | aMode | |||
) | const [private] |
MPtiCore * aCore | |
TPtiEngineInputMode aMode |
IMPORT_C void | SetHalfQwertyKeyMappings | ( | MPtiKeyMappings * | aMappings | ) |
Sets half qwerty keymappings.
MPtiKeyMappings * aMappings | Pointer to keymappings object to be set. |
void | SetKeyMapDataFactory | ( | CPtiKeyMapDataFactory * | aFactory | ) |
Sets keymap data factory class.
CPtiKeyMapDataFactory * aFactory | A keymap data factory to be used. |
IMPORT_C void | SetKeyMappings | ( | MPtiKeyMappings * | aMappings | ) |
Sets multitapping keymappings.
MPtiKeyMappings * aMappings | Pointer to keymappings object to be set. |
IMPORT_C void | SetLanguageCode | ( | TInt | aCode | ) |
Sets Symbian OS language code for this language.
TInt aCode | Language code to be set. |
IMPORT_C void | SetLocalizedName | ( | const TDesC & | aName | ) |
Sets localized language name.
const TDesC & aName | Language name to be set. |
IMPORT_C void | SetQwertyKeyMappings | ( | MPtiKeyMappings * | aMappings | ) |
Sets qwerty keymappings.
MPtiKeyMappings * aMappings | Pointer to keymappings object to be set. |
TBuf < KMaxLanguageNameLength > | iLocalizedName | [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.