TAknInputLanguageCapabilities Class Reference

API published in: S60 1st Ed

Link against: akninputlanguage.lib

Capability Information

Required Capabilities

None


#include <akninputlanguageinfo.h>

Detailed Description

Input language capabilities.

Public Types

enum   TAknInputLanguageCapabilityIndex { EMultitap = 0x00000000, EPredictive = 0x00000001 }
  These indices are used to set/clear capabilities. More...

Public Member Functions

IMPORT_C  TAknInputLanguageCapabilities ()
  C++ Constructor.
IMPORT_C void  AssignCapability (TInt aCapabilityIndex, TBool aSet)
  Sets the capability at a given index index to the logical value passed.
IMPORT_C TBool  HasCapability (TInt aCapabilityIndex) const
  Tests a capability.
IMPORT_C void  SetAllCapabilities ()
  Sets all capabilities (existing and potential).
IMPORT_C TAknInputLanguageCapabilities  FilteredCapabilities (TAknInputLanguageCapabilities &aFilter) const
IMPORT_C TBool  HasAnySupport () const

Member Enumeration Documentation

enum TAknInputLanguageCapabilities::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
Enumerator:
EMultitap 
EPredictive 

Constructor & Destructor Documentation

IMPORT_C TAknInputLanguageCapabilities::TAknInputLanguageCapabilities  ) 
 

C++ Constructor.

Initializes the internal state to "no capabilities"


Member Function Documentation

IMPORT_C void TAknInputLanguageCapabilities::AssignCapability TInt  aCapabilityIndex,
TBool  aSet
 

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

Parameters:
aCapability  which capability to set
aSet  ETrue - enable the capability; EFalse - disable the capability
IMPORT_C TAknInputLanguageCapabilities TAknInputLanguageCapabilities::FilteredCapabilities TAknInputLanguageCapabilities aFilter  )  const
 
IMPORT_C TBool TAknInputLanguageCapabilities::HasAnySupport  )  const
 
IMPORT_C TBool TAknInputLanguageCapabilities::HasCapability TInt  aCapabilityIndex  )  const
 

Tests a capability.

Parameters:
aCapability  which capability to test
Returns:
EFalse if the capability is not present; not EFalse otherwise
IMPORT_C void TAknInputLanguageCapabilities::SetAllCapabilities  ) 
 

Sets all capabilities (existing and potential).


The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top