API published in: S60 3rd Ed
Link against: ptiengine.lib
Required Capabilities
None
#include <ptilanguage.h>
Inherits MPtiLanguage.
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.
Public Member Functions |
|
IMPORT_C | ~CPtiCoreLanguage () |
IMPORT_C void | SetKeyMappings (MPtiKeyMappings *aMappings) |
Sets multitapping keymappings. |
|
IMPORT_C void | SetQwertyKeyMappings (MPtiKeyMappings *aMappings) |
Sets qwerty keymappings. |
|
IMPORT_C void | SetLanguageCode (TInt aCode) |
Sets Symbian OS language code for this language. |
|
IMPORT_C MPtiKeyMappings * | GetKeymappings () const |
Returns pointer to multitapping keymappings object. |
|
IMPORT_C MPtiKeyMappings * | GetQwertyKeymappings () const |
Returns pointer to qwerty keymappings object. |
|
IMPORT_C void | ClearMultitapping () |
Resets current multitapping keymappings. |
|
IMPORT_C void | ClearQwerty () |
Resets current qwerty keymappings. |
|
IMPORT_C void | SetLocalizedName (const TDesC &aName) |
Sets localized language name. |
|
IMPORT_C TDes & | LocalizedNameDes () |
Returns descriptor pointing to localized language name. |
|
IMPORT_C MPtiCore * | GetCore (TPtiEngineInputMode aMode) |
Returns core object for given input mode. |
|
IMPORT_C void | SetCore (MPtiCore *aCore, TPtiEngineInputMode aMode) |
Sets core object for given input mode. |
|
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 TBool | HasInputMode (TPtiEngineInputMode aMode) const |
Returns a boolean value indicating whether this language supports given input mode. |
|
TInt | LanguageCode () const |
Returns Symbian OS language code for this language object. |
|
TPtrC | LocalizedName () const |
Returns constant descriptor pointing to localized name for this language. |
|
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. |
|
IMPORT_C void | RemoveCore (MPtiCore *aCore) |
Removes detachs given core object from all input modes it is attached to. |
|
void | SetKeymappingFileIndex (TUint16 aIndex) |
void | SetQwertyKeymappingFileIndex (TUint16 aIndex) |
Static Public Member Functions |
|
static IMPORT_C CPtiCoreLanguage * | NewL () |
|
|
Resets current multitapping keymappings. |
|
Resets current qwerty keymappings. |
|
Returns an array of available input modes for this language object.
|
|
Returns an array of available input modes for this language object.
Implements MPtiLanguage. |
|
Returns core object for given input mode. Input mode to be queried.
|
|
Returns pointer to multitapping keymappings object.
|
|
Returns pointer to qwerty keymappings object.
|
|
Returns a boolean value indicating whether given core object is already asigned to some input mode for this language.
|
|
Returns a boolean value indicating whether this language supports given input mode.
Implements MPtiLanguage. |
|
Returns Symbian OS language code for this language object.
Implements MPtiLanguage. |
|
Returns constant descriptor pointing to localized name for this language.
Implements MPtiLanguage. |
|
Returns descriptor pointing to localized language name.
|
|
|
Removes detachs given core object from all input modes it is attached to.
|
|
Sets core object for given input mode. If input mode already has a core object asigned to it, it will be replaced.
|
|
|
Sets multitapping keymappings.
|
|
Sets Symbian OS language code for this language.
|
|
Sets localized language name.
|
|
|
Sets qwerty keymappings.
|