TAknInputLanguageCapabilities Class Reference

class TAknInputLanguageCapabilities

Input language capabilities

Public Member Functions
TAknInputLanguageCapabilities()
IMPORT_C voidAssignCapability(TInt, TBool)
IMPORT_C TAknInputLanguageCapabilitiesFilteredCapabilities(TAknInputLanguageCapabilities &)
IMPORT_C TBoolHasAnySupport()
IMPORT_C TBoolHasCapability(TInt)
IMPORT_C voidSetAllCapabilities()
Public Member Enumerations
enumTAknInputLanguageCapabilityIndex { EMultitap = 0x00000000, EPredictive = 0x00000001 }
Private Attributes
TBitFlags32 iCapabilities

Constructor & Destructor Documentation

TAknInputLanguageCapabilities()

IMPORT_CTAknInputLanguageCapabilities()

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

Member Functions Documentation

AssignCapability(TInt, TBool)

IMPORT_C voidAssignCapability(TIntaCapabilityIndex,
TBoolaSet
)

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

Parameters

TInt aCapabilityIndex
TBool aSetETrue - enable the capability; EFalse - disable the capability

FilteredCapabilities(TAknInputLanguageCapabilities &)

IMPORT_C TAknInputLanguageCapabilitiesFilteredCapabilities(TAknInputLanguageCapabilities &aFilter)const

Parameters

TAknInputLanguageCapabilities & aFilter

HasAnySupport()

IMPORT_C TBoolHasAnySupport()const

HasCapability(TInt)

IMPORT_C TBoolHasCapability(TIntaCapabilityIndex)const

Tests a capability

Parameters

TInt aCapabilityIndex

SetAllCapabilities()

IMPORT_C voidSetAllCapabilities()

Sets all capabilities (existing and potential)

Member Enumerations 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

Enumerators

EMultitap = 0x00000000
EPredictive = 0x00000001

Member Data Documentation

TBitFlags32 iCapabilities

TBitFlags32 iCapabilities[private]