MPtiLanguageDatabase Class Reference

#include <mw/PtiLanguageDatabase.h>

class MPtiLanguageDatabase
Public Member Functions
pure virtual TInt CoreUID()
pure virtual TInt8 *LangData(TInt)
pure virtual TInt8 *LangData(TInt, TAny *)
pure virtual TInt LanguageCode(TInt)
pure virtual TInt NativeId(TInt)
pure virtual TInt NumLanguages()
pure virtual TInt8 *PinyinPhraseData()
pure virtual TInt SubLanguageCode(TInt)
pure virtual TInt8 *ZhuyinPhraseData()

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).

Member Function Documentation

CoreUID ( )

TInt CoreUID()const [pure virtual]

Implementation UID for core object owning this data.

Since
S60 V3.0

Returns: Implementation Uid value of owning core object.

LangData ( TInt )

TInt8 *LangData(TIntaIndex)const [pure virtual]

Returns pointer to raw language data. on the core object implementation.

Since
S60 V3.0
ParameterDescription
aIndexIndex of language implementation.

Returns: Pointer to language data array.

LangData ( TInt, TAny * )

TInt8 *LangData(TIntaIndex,
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
ParameterDescription
aIndexIndex of language implementation.
aNativeParamsCore object related extra parameters.

Returns: Pointer to language data array.

LanguageCode ( TInt )

TInt LanguageCode(TIntaIndex)const [pure virtual]

Symbian OS language code for language data.

Since
S60 V3.0
ParameterDescription
aIndexIndex 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.

NativeId ( TInt )

TInt NativeId(TIntaIndex)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.

NumLanguages ( )

TInt NumLanguages()const [pure virtual]

Number on languages implemented in this database.

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

PinyinPhraseData ( )

TInt8 *PinyinPhraseData()const [pure virtual]

Returns pointer to PinYin phrase input related data.

Since
S60 V3.0

Returns: Pointer to PinYin phrase input data.

SubLanguageCode ( TInt )

TInt SubLanguageCode(TIntaIndex)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.

ZhuyinPhraseData ( )

TInt8 *ZhuyinPhraseData()const [pure virtual]

Returns pointer to ZhuYin phrase input related data.

Since
S60 V3.0

Returns: Pointer to ZhuYin phrase input data.