CPtiLanguageDatabase Class Reference

class CPtiLanguageDatabase : public CBase

Default implementation for MPtiLanguageDatabase interface.

Inherits from

Constructor & Destructor Documentation

~CPtiLanguageDatabase()

IMPORT_C ~CPtiLanguageDatabase ( )

Member Functions Documentation

CoreUID()

IMPORT_C TInt CoreUID ( ) const

CreateDatabaseL(TUid)

IMPORT_C CPtiLanguageDatabase * CreateDatabaseL ( TUid aImplUid ) [static]

Creates a language database instance for given implemenation UID.

Since
S60 V3.0

Parameters

TUid aImplUid

CreateMappingTableL(TInt, RArray< TPtiLangDatabaseMapping > &)

IMPORT_C TInt CreateMappingTableL ( TInt aCoreUid,
RArray < TPtiLangDatabaseMapping > & aResult
) [static]

Fills given array with TPtiLangDatabaseMapping bindings for given core object. Items in list bind Symbian OS language code to language database implemantion uid.

Since
S60 V3.0

Parameters

TInt aCoreUid Core object implemenation uid.
RArray < TPtiLangDatabaseMapping > & aResult Resulting list.

CreateMappingTableWithOpaqueL(TInt, RArray< TPtiLangDatabaseMappingOpaque > &)

IMPORT_C TInt CreateMappingTableWithOpaqueL ( TInt aCoreUid,
RArray < TPtiLangDatabaseMappingOpaque > & aResult
) [static]

Parameters

TInt aCoreUid
RArray < TPtiLangDatabaseMappingOpaque > & aResult

LangData(TInt)

IMPORT_C TInt8 * LangData ( TInt aIndex ) const

Parameters

TInt aIndex

LangData(TInt, TAny *)

IMPORT_C TInt8 * LangData ( TInt aIndex,
TAny * aNativeParams
) const

Parameters

TInt aIndex
TAny * aNativeParams

LanguageCode(TInt)

IMPORT_C TInt LanguageCode ( TInt aIndex ) const

Parameters

TInt aIndex

LanguageCodeForUid(TInt)

IMPORT_C TInt LanguageCodeForUid ( TInt aUid ) [static]

Returns Symbian OS language code for the first language in given language database.

Since
S60 V3.0

Parameters

TInt aUid An implementation uid for language database.

ListDatabasesLC(TInt)

IMPORT_C CArrayFix < TInt > * ListDatabasesLC ( TInt aCoreUid ) [static]

Returns a list of all the availbale language databases related to given core object. List will be the topmost item in cleanup stack.

Since
S60 V3.0

Parameters

TInt aCoreUid Implementation uid for core object.

NativeId(TInt)

IMPORT_C TInt NativeId ( TInt aIndex ) const

Parameters

TInt aIndex

NumLanguages()

IMPORT_C TInt NumLanguages ( ) const

PinyinPhraseData()

IMPORT_C TInt8 * PinyinPhraseData ( ) const

SetDestructorKeyId(TInt)

void SetDestructorKeyId ( TInt aDtorKeyId ) [inline]

Parameters

TInt aDtorKeyId

SubLanguageCode(TInt)

IMPORT_C TInt SubLanguageCode ( TInt aIndex ) const

Parameters

TInt aIndex

ZhuyinPhraseData()

IMPORT_C TInt8 * ZhuyinPhraseData ( ) const

Member Data Documentation

TInt Reserved_1

TInt Reserved_1 [private]

TInt iDtorKeyId

TInt iDtorKeyId [private]