#include <mw/PtiLanguageDatabase.h>
class CPtiLanguageDatabase : public CBase |
Public Member Functions | |
---|---|
~CPtiLanguageDatabase() | |
IMPORT_C TInt | CoreUID() |
IMPORT_C CPtiLanguageDatabase * | CreateDatabaseL(TUid) |
IMPORT_C TInt | CreateMappingTableL(TInt, RArray< TPtiLangDatabaseMapping > &) |
IMPORT_C TInt | CreateMappingTableWithOpaqueL(TInt, RArray< TPtiLangDatabaseMappingOpaque > &) |
IMPORT_C TInt8 * | LangData(TInt) |
IMPORT_C TInt8 * | LangData(TInt, TAny *) |
IMPORT_C TInt | LanguageCode(TInt) |
IMPORT_C TInt | LanguageCodeForUid(TInt) |
IMPORT_C CArrayFix< TInt > * | ListDatabasesLC(TInt) |
IMPORT_C TInt | NativeId(TInt) |
IMPORT_C TInt | NumLanguages() |
IMPORT_C TInt8 * | PinyinPhraseData() |
void | SetDestructorKeyId(TInt) |
IMPORT_C TInt | SubLanguageCode(TInt) |
IMPORT_C TInt8 * | ZhuyinPhraseData() |
Default implementation for MPtiLanguageDatabase interface.
IMPORT_C CPtiLanguageDatabase * | CreateDatabaseL | ( | TUid | aImplUid | ) | [static] |
Creates a language database instance for given implemenation UID.
Returns: Pointer to language database instance. NULL if not found.
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.
Parameter | Description |
---|---|
aCoreUid | Core object implemenation uid. |
aResult | Resulting list. |
Returns: Number of items in aResult.
IMPORT_C TInt | CreateMappingTableWithOpaqueL | ( | TInt | aCoreUid, |
RArray< TPtiLangDatabaseMappingOpaque > & | aResult | |||
) | [static] |
Returns a list of all the availbale language databases related to given core object. List will be the topmost item in cleanup stack.
Parameter | Description |
---|---|
aCoreUid | Implementation uid for core object. |
Returns: Pointer to a list containing implemention uids of language databases.