CPtiLanguageDatabase Class Reference

#include <mw/PtiLanguageDatabase.h>

class CPtiLanguageDatabase : public CBase

Inherits from

  • CPtiLanguageDatabase

    Detailed Description

    Default implementation for MPtiLanguageDatabase interface.

    Constructor & Destructor Documentation

    ~CPtiLanguageDatabase ( )

    IMPORT_C~CPtiLanguageDatabase()

    Member Function 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

    Returns: Pointer to language database instance. NULL if not found.

    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
    ParameterDescription
    aCoreUidCore object implemenation uid.
    aResultResulting list.

    Returns: Number of items in aResult.

    CreateMappingTableWithOpaqueL ( TInt, RArray< TPtiLangDatabaseMappingOpaque > & )

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

    LangData ( TInt )

    IMPORT_C TInt8 *LangData(TIntaIndex)const

    LangData ( TInt, TAny * )

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

    LanguageCode ( TInt )

    IMPORT_C TIntLanguageCode(TIntaIndex)const

    LanguageCodeForUid ( TInt )

    IMPORT_C TIntLanguageCodeForUid(TIntaUid)[static]

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

    Since
    S60 V3.0
    ParameterDescription
    aUidAn implementation uid for language database.

    Returns: Symbian OS language constant. 0, if not found.

    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
    ParameterDescription
    aCoreUidImplementation uid for core object.

    Returns: Pointer to a list containing implemention uids of language databases.

    NativeId ( TInt )

    IMPORT_C TIntNativeId(TIntaIndex)const

    NumLanguages ( )

    IMPORT_C TIntNumLanguages()const

    PinyinPhraseData ( )

    IMPORT_C TInt8 *PinyinPhraseData()const

    SetDestructorKeyId ( TInt )

    voidSetDestructorKeyId(TIntaDtorKeyId)[inline]

    SubLanguageCode ( TInt )

    IMPORT_C TIntSubLanguageCode(TIntaIndex)const

    ZhuyinPhraseData ( )

    IMPORT_C TInt8 *ZhuyinPhraseData()const