TAknInputLanguageCapabilities Class Reference

#include <mw/AknInputLanguageInfo.h>

Link against: akninputlanguage.lib

class TAknInputLanguageCapabilities

Detailed Description

Input language capabilities

Member Enumeration Documentation

Enum TAknInputLanguageCapabilityIndex

These indices are used to set/clear capabilities. Terms:
  • multitap refers to capability to enter alphabetic chars by pressing the same key repeatedly

  • predictive refers to the device matching (non-multitap) keypresses with potential words in a dictionary. That is, what words would map to the current set of keypad presses

EnumeratorValueDescription
EMultitap0x00000000
EPredictive0x00000001

Constructor & Destructor Documentation

TAknInputLanguageCapabilities ( )

IMPORT_CTAknInputLanguageCapabilities()

C++ Constructor. Initializes the internal state to "no capabilities"

Member Function Documentation

AssignCapability ( TInt, TBool )

IMPORT_C voidAssignCapability(TIntaCapabilityIndex,
TBoolaSet
)

Sets the capability at a given index index to the logical value passed

ParameterDescription
aSetETrue - enable the capability; EFalse - disable the capability

FilteredCapabilities ( TAknInputLanguageCapabilities & )

IMPORT_C TAknInputLanguageCapabilitiesFilteredCapabilities(TAknInputLanguageCapabilities &aFilter)const

HasAnySupport ( )

IMPORT_C TBoolHasAnySupport()const

HasCapability ( TInt )

IMPORT_C TBoolHasCapability(TIntaCapabilityIndex)const

Tests a capability

Returns: EFalse if the capability is not present; not EFalse otherwise

SetAllCapabilities ( )

IMPORT_C voidSetAllCapabilities()

Sets all capabilities (existing and potential)