MPtiLanguageDatabase Class Reference

class MPtiLanguageDatabase

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 Functions Documentation

CoreUID()

TInt CoreUID ( ) const [pure virtual]

Implementation UID for core object owning this data.

Since
S60 V3.0

LangData(TInt)

TInt8 * LangData ( TInt aIndex ) const [pure virtual]

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

Since
S60 V3.0

Parameters

TInt aIndex Index of language implementation.

LangData(TInt, TAny *)

TInt8 * 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

TInt aIndex Index of language implementation.
TAny * aNativeParams Core object related extra parameters.

LanguageCode(TInt)

TInt LanguageCode ( TInt aIndex ) const [pure virtual]

Symbian OS language code for language data.

Since
S60 V3.0

Parameters

TInt aIndex Index of language implementation (in case one database holds data for several languages).

NativeId(TInt)

TInt 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

Parameters

TInt aIndex

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

SubLanguageCode(TInt)

TInt 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

Parameters

TInt aIndex

ZhuyinPhraseData()

TInt8 * ZhuyinPhraseData ( ) const [pure virtual]

Returns pointer to ZhuYin phrase input related data.

Since
S60 V3.0