MPtiLanguageDatabase Class Reference

Link against: ptiengine.lib


#include <
PtiLanguageDatabase.h>

Inherited by CPtiLanguageDatabase.


Detailed Description

An interface class for wrapping language data.

Core object may use this interface for accessing language data (but it is also ok to use any other way, since it is part of core object's internal implementation).


Public Member Functions

virtual TInt CoreUID () const =0
 Implementation UID for core object owning this data.
virtual TInt NumLanguages () const =0
 Number on languages implemented in this database.
virtual TInt LanguageCode (TInt aIndex) const =0
 Symbian OS language code for language data.
virtual TInt SubLanguageCode (TInt aIndex) const =0
 Returns sub-language code.
virtual TInt8 * LangData (TInt aIndex) const =0
 Returns pointer to raw language data.
virtual TInt8 * LangData (TInt aIndex, TAny *aNativeParams) const =0
 Returns pointer to language data.
virtual TInt8 * PinyinPhraseData () const =0
 Returns pointer to PinYin phrase input related data.
virtual TInt8 * ZhuyinPhraseData () const =0
 Returns pointer to ZhuYin phrase input related data.
virtual TInt NativeId (TInt aIndex) const =0
 Returns core object's internal language id value.

Member Function Documentation

virtual TInt MPtiLanguageDatabase::CoreUID  )  const [pure virtual]
 

Implementation UID for core object owning this data.

Since:
S60 V3.0
Returns:
Implementation Uid value of owning core object.

Implemented in CPtiLanguageDatabase.

virtual TInt8* MPtiLanguageDatabase::LangData TInt  aIndex,
TAny *  aNativeParams
const [pure virtual]
 

Returns pointer to language data.

The meaning of the data in array depends on the core object implementation.

Since:
S60 V3.0
Parameters:
aIndex Index of language implementation.
aNativeParams Core object related extra parameters.
Returns:
Pointer to language data array.

Implemented in CPtiLanguageDatabase.

virtual TInt8* MPtiLanguageDatabase::LangData TInt  aIndex  )  const [pure virtual]
 

Returns pointer to raw language data.

on the core object implementation.

Since:
S60 V3.0
Parameters:
aIndex Index of language implementation.
Returns:
Pointer to language data array.

Implemented in CPtiLanguageDatabase.

virtual TInt MPtiLanguageDatabase::LanguageCode TInt  aIndex  )  const [pure virtual]
 

Symbian OS language code for language data.

Since:
S60 V3.0
Parameters:
aIndex Index of language implementation (in case one database holds data for several languages).
Returns:
Symbian OS language code for language data identified by aIndex. 0, if aIndex is greater than number of languages in this database.

Implemented in CPtiLanguageDatabase.

virtual TInt MPtiLanguageDatabase::NativeId TInt  aIndex  )  const [pure virtual]
 

Returns core object's internal language id value.

The meaning of this value depends on core object implementation.

Since:
S60 V3.0
Returns:
Core object internal language id.

Implemented in CPtiLanguageDatabase.

virtual TInt MPtiLanguageDatabase::NumLanguages  )  const [pure virtual]
 

Number on languages implemented in this database.

Since:
S60 V3.0 return Number languages implemented in this database.

Implemented in CPtiLanguageDatabase.

virtual TInt8* MPtiLanguageDatabase::PinyinPhraseData  )  const [pure virtual]
 

Returns pointer to PinYin phrase input related data.

Since:
S60 V3.0
Returns:
Pointer to PinYin phrase input data.

Implemented in CPtiLanguageDatabase.

virtual TInt MPtiLanguageDatabase::SubLanguageCode TInt  aIndex  )  const [pure virtual]
 

Returns sub-language code.

The meaning of this value depends on core object implementation. Ususally this value is needed for enumerating several dialects that are related to one Symbian OS language constant.

Since:
S60 V3.0
Returns:
Sub-language id.

Implemented in CPtiLanguageDatabase.

virtual TInt8* MPtiLanguageDatabase::ZhuyinPhraseData  )  const [pure virtual]
 

Returns pointer to ZhuYin phrase input related data.

Since:
S60 V3.0
Returns:
Pointer to ZhuYin phrase input data.

Implemented in CPtiLanguageDatabase.


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

Copyright © Nokia Corporation 2001-2007
Back to top