MPtiLanguage Class Reference

#include <mw/PtiLanguage.h>

class MPtiLanguage
Public Member Functions
pure virtual voidGetAvailableInputModesL(CArrayFix< TInt > *)
pure virtual TBool HasInputMode(TPtiEngineInputMode)
pure virtual TInt LanguageCode()
pure virtual TPtrC LocalizedName()

Detailed Description

Client side interface for querying PtiEngine language related attributes. All PtiEngine client side API methods related to handling languages access languages through this interface class.

Member Function Documentation

GetAvailableInputModesL ( CArrayFix< TInt > * )

voidGetAvailableInputModesL(CArrayFix< TInt > *aResult)[pure virtual]

Returns list of all inputmodes currently supported by this language.

ParameterDescription
aResultList of supported input modes will be stored here.

HasInputMode ( TPtiEngineInputMode )

TBool HasInputMode(TPtiEngineInputModeaMode)const [pure virtual]

Returns a boolean value indicating whether this language supports requested input mode.

ParameterDescription
aModeA input mode to be queried.

Returns: ETrue if this language supports requested input mode. EFalse otherwise.

LanguageCode ( )

TInt LanguageCode()const [pure virtual]

Returns Symbian OS language code for this language.

Returns: Symbian OS language code.

LocalizedName ( )

TPtrC LocalizedName()const [pure virtual]

Returns localized name for this language.

Returns: A constant pointer to localized language name.