CAknInputLanguageInfo Class Reference

API published in: S60 1st Ed

Link against: akninputlanguage.lib

Capability Information

Required Capabilities

None


#include <akninputlanguageinfo.h>

Detailed Description

Input Language information interface.

This object is instantiated to create a standard interface to the native input language services.


Public Member Functions

virtual TAknInputLanguageCapabilities  LanguageCapabilitiesFromLanguage (TLanguage aLanguageId)=0
  This method returns the input capabilities of a language.
virtual TAknLanguageName  LanguageName (TLanguage aLanguageCode) const =0
  Get the language name that corresponds to the passed-in Symbian OS language code.
virtual void  AppendLanguagesL (CAknInputLanguageList *aInputLanguageList, CArrayFix< TInt > *aLanguageCodeList, TAknInputLanguageCapabilities &aCapabilityFilter)=0
  Provide a language list corresponding to the input list of SymbianOS language codes.
virtual void  AppendAvailableLanguagesL (CAknInputLanguageList *aInputLanguageList)=0
  Appends to an externally owned array of CAknInputLanguageItem-s.
virtual TLanguage  UrlLanguage () const =0
  Return a langauge that is suitable in the product for a URL input language.

Member Function Documentation

virtual void CAknInputLanguageInfo::AppendAvailableLanguagesL CAknInputLanguageList aInputLanguageList  )  [pure virtual]
 

Appends to an externally owned array of CAknInputLanguageItem-s.

These can be interrogated to provide information upon return.

Parameters:
aInputLanguageList  Passed-in array is appended to by this method
virtual void CAknInputLanguageInfo::AppendLanguagesL CAknInputLanguageList aInputLanguageList,
CArrayFix< TInt > *  aLanguageCodeList,
TAknInputLanguageCapabilities aCapabilityFilter
[pure virtual]
 

Provide a language list corresponding to the input list of SymbianOS language codes.

The order of the languages in the output list is that order implemented in the interface object, and the order of the input list of language codes is ignored.

Parameters:
aInputLanguageList  Append to this list;
aLanguageCodeList  Append only languages whose code is in this list. If Null is passed, then no language code filtering is done
aCapabilityFilter  Append only languages with capabilities set in this filter. If a filter with no capabilities whatsoever is passed, then all capabilities are included
virtual TAknInputLanguageCapabilities CAknInputLanguageInfo::LanguageCapabilitiesFromLanguage TLanguage  aLanguageId  )  [pure virtual]
 

This method returns the input capabilities of a language.

The capability object can then be queried to see what it is capable of.

Parameters:
aLanguageId  Symbian language code
Returns:
a structure indicating what the language is capable of
virtual TAknLanguageName CAknInputLanguageInfo::LanguageName TLanguage  aLanguageCode  )  const [pure virtual]
 

Get the language name that corresponds to the passed-in Symbian OS language code.

This name should be localized, or not, depending upon the policy decided for the product

Parameters:
aLanguageCode  - language code for the language whose name is required
Returns:
TAknLanguageName - buffer containing
virtual TLanguage CAknInputLanguageInfo::UrlLanguage  )  const [pure virtual]
 

Return a langauge that is suitable in the product for a URL input language.

Returns:
TLanguage A language code for the designated URL language

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

Copyright © Nokia Corporation 2001-2008
Back to top