CPtiLanguageDatabase Class Reference

class CPtiLanguageDatabase : public CBase

Default implementation for MPtiLanguageDatabase interface.

Inherits from

  • CPtiLanguageDatabase

Constructor & Destructor Documentation

~CPtiLanguageDatabase()

IMPORT_C~CPtiLanguageDatabase()

Member Functions Documentation

CoreUID()

IMPORT_C TIntCoreUID()const

CreateDatabaseL(TUid)

IMPORT_C CPtiLanguageDatabase *CreateDatabaseL(TUidaImplUid)[static]

Creates a language database instance for given implemenation UID.

Since
S60 V3.0

Parameters

TUid aImplUid

CreateMappingTableL(TInt, RArray< TPtiLangDatabaseMapping > &)

IMPORT_C TIntCreateMappingTableL(TIntaCoreUid,
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 aCoreUidCore object implemenation uid.
RArray< TPtiLangDatabaseMapping > & aResultResulting list.

CreateMappingTableWithOpaqueL(TInt, RArray< TPtiLangDatabaseMappingOpaque > &)

IMPORT_C TIntCreateMappingTableWithOpaqueL(TIntaCoreUid,
RArray< TPtiLangDatabaseMappingOpaque > &aResult
)[static]

Parameters

TInt aCoreUid
RArray< TPtiLangDatabaseMappingOpaque > & aResult

LangData(TInt)

IMPORT_C TInt8 *LangData(TIntaIndex)const

Parameters

TInt aIndex

LangData(TInt, TAny *)

IMPORT_C TInt8 *LangData(TIntaIndex,
TAny *aNativeParams
)const

Parameters

TInt aIndex
TAny * aNativeParams

LanguageCode(TInt)

IMPORT_C TIntLanguageCode(TIntaIndex)const

Parameters

TInt aIndex

LanguageCodeForUid(TInt)

IMPORT_C TIntLanguageCodeForUid(TIntaUid)[static]

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

Since
S60 V3.0

Parameters

TInt aUidAn implementation uid for language database.

ListDatabasesLC(TInt)

IMPORT_C CArrayFix< TInt > *ListDatabasesLC(TIntaCoreUid)[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 aCoreUidImplementation uid for core object.

NativeId(TInt)

IMPORT_C TIntNativeId(TIntaIndex)const

Parameters

TInt aIndex

NumLanguages()

IMPORT_C TIntNumLanguages()const

PinyinPhraseData()

IMPORT_C TInt8 *PinyinPhraseData()const

SetDestructorKeyId(TInt)

voidSetDestructorKeyId(TIntaDtorKeyId)[inline]

Parameters

TInt aDtorKeyId

SubLanguageCode(TInt)

IMPORT_C TIntSubLanguageCode(TIntaIndex)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]