| class CPtiEngineImpl : public CBase |
CPtiEngineImpl class. Implementation class for main PtiEngine API. See file PtiEngine.h for actual documentation.
| Private Member Enumerations | |
|---|---|
| enum | anonymous { KPtiMaxWordSize = 255 } |
| Private Attributes | |
|---|---|
| TBuf < KPtiMaxWordSize > | iCandidateBuffer |
| TPtiTextCase | iCase |
| TBuf8 < KPtiMaxWordSize > | iCaseBuffer |
| CArrayPtrFlat < CPtiCore > * | iCores |
| CPtiHwrRecognizer * | iCurrentHwrImpl |
| CPtiCoreLanguage * | iCurrentLanguage |
| RArray < TPtiNumericKeyBinding > | iExtendedNumricSet |
| TInt | iExtendedNumricSetLang |
| CPtiEngine * | iFrontEnd |
| RArray < TUid > | iImpIdList |
| TPtiEngineInputMode | iInputMode |
| TBuf8 < KPtiMaxWordSize > | iInputSequence |
| CArrayPtrFlat < CPtiCoreLanguage > * | iLanguages |
| TBool | iMaxEditorLengthCrossed |
| MPtiObserver * | iObserver |
| TBuf < KPtiMaxKeymappingsLength > | iPunctuationCharacters |
| TInt | iPunctuationLocation |
| TInt | iPunctuationsEntered |
| TBuf < KPtiMaxWordSize > | iTextBuffer |
| RPointerArray < CPtiUserDictionary > | iUserDictionaries |
| TInt | ActivateLanguageL | ( | TInt | aEpocLanguageID, |
| TPtiEngineInputMode | aMode | |||
| ) | ||||
| TInt aEpocLanguageID | |
| TPtiEngineInputMode aMode |
| TInt | AddAutoSubstitutionEntry | ( | const TDesC & | aShortcut, |
| const TDesC & | aSubstituition | |||
| ) | ||||
| TInt | AddPhrase | ( | const TDesC & | aNewPhrase | ) |
| const TDesC & aNewPhrase |
| TInt | AddUserDictionaryEntry | ( | MPtiUserDictionaryEntry & | aEntry | ) |
| MPtiUserDictionaryEntry & aEntry |
| TInt | AddUserDictionaryEntry | ( | MPtiUserDictionaryEntry & | aEntry, |
| TInt | aId | |||
| ) | ||||
| MPtiUserDictionaryEntry & aEntry | |
| TInt aId |
| TBool | AllowCapitalize | ( | TUint16 | aChar | ) | const [private, inline] |
| TUint16 aChar |
| MPtiUserDictionary * | AttachDefaultUserDictionaryL | ( | TUid | aCoreUid, |
| TInt | aSymbolClass | |||
| ) | ||||
| MPtiUserDictionary * | AttachUserDictionaryL | ( | TDesC & | aFileName | ) |
| TDesC & aFileName |
| TPtiTextCase | CaseForMappedCharacter | ( | TChar | aCharacter | ) | [private] |
| TChar aCharacter |
| TInt | CharConversion | ( | TPtiCharConversion | aType, |
| TAny * | aInput, | |||
| TInt | aInputLength, | |||
| TAny * | aOutput | |||
| ) | ||||
| void | ConstructL | ( | CPtiEngine * | aFrontEnd | ) | [private] |
| CPtiEngine * aFrontEnd |
| void | ConvertToKeySequence | ( | TPtrC | aIn, |
| TDes8 & | aOut | |||
| ) | [private] | |||
| CPtiCore * | CoreForInputMode | ( | TPtiEngineInputMode | aMode | ) | const [private, inline] |
| TPtiEngineInputMode aMode |
| IMPORT_C MPtiCoreInfo * | CoreInfo | ( | TPtiEngineInputMode | aMode | ) | const |
| TPtiEngineInputMode aMode |
| TInt | CountToneMarks | ( | TPtrC | aSpelling | ) | const [private] |
| TPtrC aSpelling |
| void | CreateDefaultUserDictionaryFileL | ( | TUid | aCoreUid, |
| TInt | aSymbolClass | |||
| ) | ||||
| CArrayFixFlat < TPtiLangName > * | CreateLanguageNamesListLC | ( | ) | [private] |
| CPtiCoreLanguage * | CreateNumericLanguageL | ( | CPtiCore * | aCore | ) | [private] |
| CPtiCore * aCore |
| void | CreateSecondaryDataFileName | ( | TDes & | aResult, |
| TUid | aCoreUid, | |||
| TInt | aIndex | |||
| ) | [private] | |||
| void | CreateUserDictName | ( | TDes & | aResult, |
| TUid | aCoreUid, | |||
| TInt | aSymbolClass | |||
| ) | [private] | |||
| TInt | CreateUserDictionaryL | ( | TDesC & | aFileName, |
| CDesCArrayFlat * | aWords, | |||
| TPtiEngineInputMode | aMode | |||
| ) | ||||
| TDesC & aFileName | |
| CDesCArrayFlat * aWords | |
| TPtiEngineInputMode aMode |
| CPtiUserDictionary * | DefaultUserDictForCore | ( | CPtiCore * | aCore | ) | [private] |
| CPtiCore * aCore |
| MPtiUserDictionary * | DefaultUserDictionary | ( | TPtiEngineInputMode | aMode | ) |
| TPtiEngineInputMode aMode |
| TInt | DeleteAutoSubstitutionEntry | ( | const TDesC & | aShortcut | ) |
| const TDesC & aShortcut |
| TInt | DetachUserDictionary | ( | TDesC & | aFileName | ) |
| TDesC & aFileName |
| const RArray < TPtiNumericKeyBinding > & | ExtendedNumericModeKeysForQwertyL | ( | TInt | aLanguage | ) |
| TInt aLanguage |
| const RArray < TPtiNumericKeyBinding > & | ExtendedNumericModeKeysForQwertyL | ( | TInt | aLanguage, |
| TPtiKeyboardType | aKeyboardType | |||
| ) | ||||
| TInt aLanguage | |
| TPtiKeyboardType aKeyboardType |
| TPtiKeyboardType | FindFirstAvailableQwertyKeyboardType | ( | TInt | aLang | ) | const [private] |
| TInt aLang |
| void | FindLanguageName | ( | CArrayFixFlat < TPtiLangName > * | aList, |
| TDes & | aResult, | |||
| TInt | aLangCode | |||
| ) | [private] | |||
| CArrayFixFlat < TPtiLangName > * aList | |
| TDes & aResult | |
| TInt aLangCode |
| TInt | GetAutoSubstitutionEntry | ( | TInt | aIndex, |
| TDes & | aShortcut, | |||
| TDes & | aSubstitution | |||
| ) | ||||
| void | GetAvailableLanguagesL | ( | CArrayFix < TInt > * | aResult | ) |
| TInt | GetCandidateListL | ( | CDesCArray & | aList | ) |
| CDesCArray & aList |
| IMPORT_C HBufC * | GetCandidatesByInputString | ( | const TDesC & | aInputString, |
| RPointerArray < HBufC > & | aList, | |||
| const TBool | aIsPredictive | |||
| ) | ||||
| const TDesC & aInputString | |
| RPointerArray < HBufC > & aList | |
| const TBool aIsPredictive |
| TInt | GetChinesePhraseCandidatesL | ( | CDesCArray & | aList | ) |
| CDesCArray & aList |
| void | GetHwrAvailableLanguagesL | ( | RArray < TInt > & | aResult | ) |
| MPtiHwrRecognizer * | GetHwrRecognizerL | ( | TLanguage | aLanguage | ) |
| TLanguage aLanguage |
| MPtiHwrRecognizer * | GetHwrRecognizerL | ( | TInt | aImpId | ) |
| TInt aImpId |
| void | GetLocalizedLanguageNameL | ( | TInt | aLangCode, |
| TDes & | aResult | |||
| ) | ||||
| void | GetModeNameIndexL | ( | TPtiChineseVariant | aVariant, |
| RArray < TInt > & | aResult | |||
| ) | ||||
| TInt | GetNextWordCandidateListL | ( | CDesCArray & | aList | ) |
| CDesCArray & aList |
| void | GetNumericModeKeysForQwertyL | ( | TInt | aLanguage, |
| RArray < TPtiNumericKeyBinding > & | aResult | |||
| ) | ||||
| TInt aLanguage | |
| RArray < TPtiNumericKeyBinding > & aResult |
| void | GetNumericModeKeysForQwertyL | ( | TInt | aLanguage, |
| RArray < TPtiNumericKeyBinding > & | aResult, | |||
| TPtiKeyboardType | aKeyboardType | |||
| ) | ||||
| TInt aLanguage | |
| RArray < TPtiNumericKeyBinding > & aResult | |
| TPtiKeyboardType aKeyboardType |
| TInt | GetPhoneticSpellingsL | ( | CDesCArray & | aList | ) |
| CDesCArray & aList |
| TInt | GetSpelling | ( | TUint16 | aInput, |
| TDes & | aOutput, | |||
| TPtiSpelling | aType | |||
| ) | ||||
| TInt | GetUserDictionaryEntry | ( | TInt | aIndex, |
| MPtiUserDictionaryEntry & | aResult | |||
| ) | ||||
| TInt aIndex | |
| MPtiUserDictionaryEntry & aResult |
| TInt | HandleCommandL | ( | TPtiEngineCommand | aCommand, |
| TAny * | aParams | |||
| ) | ||||
| TPtiEngineCommand aCommand | |
| TAny * aParams |
| TBool | IncrementToneMark | ( | TBool | aOverrideInvalid | ) |
| TBool aOverrideInvalid |
| void | InitializeL | ( | TBool | aUseDefaultUserDictionary | ) |
| TBool aUseDefaultUserDictionary |
| TBool | IsCoreForInputMode | ( | TPtiEngineInputMode | aMode | ) | const [private, inline] |
| TPtiEngineInputMode aMode |
| TBool | IsModeChineseQwerty | ( | TPtiEngineInputMode | aMode | ) | const [private, inline] |
| TPtiEngineInputMode aMode |
| TBool | IsToneMarkOrSeparator | ( | TInt | aChar | ) | const [private, inline] |
| TInt aChar |
| void | KeyboardTypesSupportedByLanguageL | ( | TInt | aLanguage, |
| RArray < TPtiKeyboardType > & | aResult | |||
| ) | ||||
| RArray < TUid > & | ListHwrRecognizerL | ( | TLanguage | aLanguage | ) |
| TLanguage aLanguage |
| void | LoadCoresInDefaultDirL | ( | TBool | aUseDefaultUserDictionary | ) | [private] |
| TBool aUseDefaultUserDictionary |
| TBool | MapNumericChar | ( | CPtiMappings * | aMaps, |
| TPtiNumericKeyBinding & | aBinding, | |||
| TPtiKey | aKey, | |||
| TPtiTextCase | aCase, | |||
| TBool | aUseExtendedSet, | |||
| TPtiEngineInputMode | aMode | |||
| ) | [private] | |||
| CPtiMappings * aMaps | |
| TPtiNumericKeyBinding & aBinding | |
| TPtiKey aKey | |
| TPtiTextCase aCase | |
| TBool aUseExtendedSet | |
| TPtiEngineInputMode aMode |
| void | MappingDataForKey | ( | TPtiKey | aKey, |
| TDes & | aResult, | |||
| TPtiTextCase | aCase | |||
| ) | ||||
| TPtiKey aKey | |
| TDes & aResult | |
| TPtiTextCase aCase |
| CPtiEngineImpl * | NewL | ( | CPtiEngine * | aFrontEnd | ) | [static] |
Two phase constructor.
| CPtiEngine * aFrontEnd |
| void | NumericModeKeysForQwertyL | ( | TInt | aLanguage, |
| RArray < TPtiNumericKeyBinding > & | aResult, | |||
| TBool | aUseExtendedSet, | |||
| TPtiKeyboardType | aKeyboardtype = EPtiKeyboardNone | |||
| ) | [private] | |||
| TInt aLanguage | |
| RArray < TPtiNumericKeyBinding > & aResult | |
| TBool aUseExtendedSet | |
| TPtiKeyboardType aKeyboardtype = EPtiKeyboardNone |
| void | OnInputModeChanged | ( | TPtiEngineInputMode | aOldMode, |
| TPtiEngineInputMode | aNewMode | |||
| ) | [private] | |||
| TPtiEngineInputMode aOldMode | |
| TPtiEngineInputMode aNewMode |
| HBufC8 * | ReadSecondaryDataFileL | ( | TUid | aCoreUid, |
| TInt | aIndexNumber | |||
| ) | ||||
| TInt | ReadUidFromUserDictionaryFileL | ( | const TDesC & | aFileName | ) | [private] |
| const TDesC & aFileName |
| TPtrC | RedirectKeyForChineseQwerty | ( | TPtiKey | aKey, |
| TBool & | aRedirected | |||
| ) | [private] | |||
| TPtiKey aKey | |
| TBool & aRedirected |
| TInt | RemoveEntryFromUserDictionary | ( | MPtiUserDictionaryEntry & | aEntry | ) |
| MPtiUserDictionaryEntry & aEntry |
| TInt | RemoveEntryFromUserDictionary | ( | MPtiUserDictionaryEntry & | aEntry, |
| TInt | aId | |||
| ) | ||||
| MPtiUserDictionaryEntry & aEntry | |
| TInt aId |
| TInt | SetExternalKeyMapL | ( | TPtiEngineInputMode | aMode, |
| TPtiKey | aKey, | |||
| TDesC & | aKeyMap, | |||
| TPtiTextCase | aCase | |||
| ) | ||||
| TPtiEngineInputMode aMode | |
| TPtiKey aKey | |
| TDesC & aKeyMap | |
| TPtiTextCase aCase |
| TInt | SetInputMode | ( | TPtiEngineInputMode | aMode | ) |
| TPtiEngineInputMode aMode |
| TInt | SetKeyboardType | ( | TPtiKeyboardType | aType | ) |
| TPtiKeyboardType aType |
| TInt | SetMaxLengthForAutoCompletedCandidates | ( | TInt | aMaxLenght | ) |
| TInt aMaxLenght |
| TInt | SetNumberCandidateStatus | ( | TBool | aStatus | ) |
| TBool aStatus |
| void | SetObserver | ( | MPtiObserver * | aObserver | ) | [inline] |
| MPtiObserver * aObserver |
| TBool | SetPredictiveChineseChar | ( | const TDesC & | aChar | ) |
| const TDesC & aChar |
| TBool | SupportsUserDictionaries | ( | CPtiCore * | aCore | ) | [private, inline] |
| CPtiCore * aCore |
| void | WriteSecondaryDataFileL | ( | TUid | aCoreUid, |
| TInt | aIndexNumber, | |||
| HBufC8 * | aData | |||
| ) | ||||
| CPtiHwrRecognizer * | iCurrentHwrImpl | [private] |
The pointer points current active hwr implementation
| RArray < TPtiNumericKeyBinding > | iExtendedNumricSet | [private] |
| RArray < TUid > | iImpIdList | [private] |
The array used to store hwr implementation uid list
| CArrayPtrFlat < CPtiCoreLanguage > * | iLanguages | [private] |
| TBuf < KPtiMaxKeymappingsLength > | iPunctuationCharacters | [private] |
| RPointerArray < CPtiUserDictionary > | iUserDictionaries | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.