Link against: ptiengine.lib
#include <PtiLanguageDatabase.h>
Inherits MPtiLanguageDatabase.
Public Member Functions | |
IMPORT_C | ~CPtiLanguageDatabase () |
IMPORT_C TInt | CoreUID () const |
Implementation UID for core object owning this data. | |
IMPORT_C TInt | NumLanguages () const |
Number on languages implemented in this database. | |
IMPORT_C TInt | LanguageCode (TInt aIndex) const |
Symbian OS language code for language data. | |
IMPORT_C TInt | SubLanguageCode (TInt aIndex) const |
Returns sub-language code. | |
IMPORT_C TInt8 * | LangData (TInt aIndex) const |
Returns pointer to raw language data. | |
IMPORT_C TInt8 * | LangData (TInt aIndex, TAny *aNativeParams) const |
Returns pointer to language data. | |
IMPORT_C TInt8 * | PinyinPhraseData () const |
Returns pointer to PinYin phrase input related data. | |
IMPORT_C TInt8 * | ZhuyinPhraseData () const |
Returns pointer to ZhuYin phrase input related data. | |
IMPORT_C TInt | NativeId (TInt aIndex) const |
Returns core object's internal language id value. | |
void | SetDestructorKeyId (TInt aDtorKeyId) |
Static Public Member Functions | |
static IMPORT_C CPtiLanguageDatabase * | CreateDatabaseL (TUid aImplUid) |
Creates a language database instance for given implemenation UID. | |
static IMPORT_C CArrayFix< TInt > * | ListDatabasesLC (TInt aCoreUid) |
Returns a list of all the availbale language databases related to given core object. | |
static IMPORT_C TInt | LanguageCodeForUid (TInt aUid) |
Returns Symbian OS language code for the first language in given language database. | |
static IMPORT_C TInt | CreateMappingTableL (TInt aCoreUid, RArray< TPtiLangDatabaseMapping > &aResult) |
Fills given array with TPtiLangDatabaseMapping bindings for given core object. | |
static IMPORT_C TInt | CreateMappingTableWithOpaqueL (TInt aCoreUid, RArray< TPtiLangDatabaseMappingOpaque > &aResult) |
|
|
Implementation UID for core object owning this data.
Implements MPtiLanguageDatabase. |
|
Creates a language database instance for given implemenation UID.
|
|
Fills given array with TPtiLangDatabaseMapping bindings for given core object. Items in list bind Symbian OS language code to language database implemantion uid.
|
|
|
Returns pointer to language data. The meaning of the data in array depends on the core object implementation.
Implements MPtiLanguageDatabase. |
|
Returns pointer to raw language data. on the core object implementation.
Implements MPtiLanguageDatabase. |
|
Symbian OS language code for language data.
Implements MPtiLanguageDatabase. |
|
Returns Symbian OS language code for the first language in given language database.
|
|
Returns a list of all the availbale language databases related to given core object. List will be the topmost item in cleanup stack.
|
|
Returns core object's internal language id value. The meaning of this value depends on core object implementation.
Implements MPtiLanguageDatabase. |
|
Number on languages implemented in this database.
Implements MPtiLanguageDatabase. |
|
Returns pointer to PinYin phrase input related data.
Implements MPtiLanguageDatabase. |
|
|
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.
Implements MPtiLanguageDatabase. |
|
Returns pointer to ZhuYin phrase input related data.
Implements MPtiLanguageDatabase. |