CPtiCoreLanguage Class Reference
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.
Constructor & Destructor Documentation
CPtiCoreLanguage()
CPtiCoreLanguage | ( | ) | [private] |
~CPtiCoreLanguage()
IMPORT_C | ~CPtiCoreLanguage | ( | ) | |
Member Functions Documentation
ClearHalfQwerty()
IMPORT_C void | ClearHalfQwerty | ( | ) | |
Resets current half qwerty keymappings.
ClearMultitapping()
IMPORT_C void | ClearMultitapping | ( | ) | |
Resets current multitapping keymappings.
ClearQwerty()
IMPORT_C void | ClearQwerty | ( | ) | |
Resets current qwerty keymappings.
ConstructL()
void | ConstructL | ( | ) | [private] |
DataFactory()
Returns active data factory.
GetAvailableInputModesL(CArrayFix< TInt > *)
Returns an array of available input modes for this language object.
GetAvailableInputModesL(RArray< TInt > &)
IMPORT_C void | GetAvailableInputModesL | ( | RArray< TInt > & | aResult | ) | |
Returns an array of available input modes for this language object.
Parameters
RArray< TInt > & aResult | Resulting input mode list. |
GetCore(TPtiEngineInputMode)
Returns core object for given input mode.
Input mode to be queried.
GetCoreForNumericMode()
CPtiCore * | GetCoreForNumericMode | ( | ) | const [private] |
GetHalfQwertyKeymappings()
Returns pointer to half qwerty keymappings object.
GetKeymappings()
Returns pointer to multitapping keymappings object.
GetQwertyKeymappings()
Returns pointer to qwerty keymappings object.
HasCore(MPtiCore *)
Returns a boolean value indicating whether given core object is already asigned to some input mode for this language.
Parameters
MPtiCore * aCore | A core object to be queried. |
HasInputMode(TPtiEngineInputMode)
Returns a boolean value indicating whether this language supports given input mode.
LanguageCode()
TInt
| LanguageCode | ( | ) | const [inline] |
Returns Symbian OS language code for this language object.
LoadKeymappingsL()
void | LoadKeymappingsL | ( | ) | const [private] |
LocalizedName()
TPtrC
| LocalizedName | ( | ) | const [inline] |
Returns constant descriptor pointing to localized name for this language.
LocalizedNameDes()
IMPORT_C TDes & | LocalizedNameDes | ( | ) | |
Returns descriptor pointing to localized language name.
RawKeyMapData()
Returns raw keymap data object.
RemoveCore(MPtiCore *)
IMPORT_C void | RemoveCore | ( | MPtiCore * | aCore | ) | |
Removes detachs given core object from all input modes it is attached to.
Parameters
MPtiCore * aCore | A core object to be detached. |
SetCore(MPtiCore *, TPtiEngineInputMode)
Sets core object for given input mode. If input mode already has a core object asigned to it, it will be replaced.
SetCoreLocal(MPtiCore *, TPtiEngineInputMode)
SetHalfQwertyKeyMappings(MPtiKeyMappings *)
Sets half qwerty keymappings.
SetKeyMapDataFactory(CPtiKeyMapDataFactory *)
Sets keymap data factory class.
SetKeyMappings(MPtiKeyMappings *)
Sets multitapping keymappings.
SetLanguageCode(TInt)
IMPORT_C void | SetLanguageCode | ( | TInt | aCode | ) | |
Sets Symbian OS language code for this language.
Parameters
TInt aCode | Language code to be set. |
SetLocalizedName(const TDesC &)
IMPORT_C void | SetLocalizedName | ( | const TDesC & | aName | ) | |
Sets localized language name.
Parameters
const TDesC & aName | Language name to be set. |
SetQwertyKeyMappings(MPtiKeyMappings *)
Member Data Documentation
RArray< TPtiCoreBinding > iCores
CPtiKeyMapDataFactory * iDataFactory
TPtiKeyMappingsHolder * iHolder
CPtiKeyMapData * iKeyMapData
TInt
iLanguageCode
TInt
| iLanguageCode | [private] |
TBuf< KMaxLanguageNameLength > iLocalizedName
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.