CPtiCore Class Reference
Link against: PtiEngine.lib
class CPtiCore : public CBase |
Public Member Functions |
---|
| ~CPtiCore() |
IMPORT_C TInt | AddUserDictionaryEntry(MPtiUserDictionaryEntry &, CPtiUserDictionary *) |
IMPORT_C TInt | AttachUserDictionary(CPtiUserDictionary *) |
IMPORT_C TInt | CommitCurrentWord() |
IMPORT_C MPtiEngineCompositionDataInterface * | CompositionData() |
IMPORT_C TInt | Convert(TPtiCharConversion, TAny *, TInt, TAny *) |
IMPORT_C CPtiCore * | CreateCoreL(TUid) |
IMPORT_C CPtiUserDictionary * | CreateEmptyUserDictionaryL(TInt) |
IMPORT_C TBool | DetachUserDictionary(CPtiUserDictionary *) |
IMPORT_C TInt | GetCandidateListL(CDesCArray &) |
IMPORT_C TPtrC | GetCandidatePage() |
IMPORT_C HBufC * | GetCandidatesByInputString(const TDesC &, RPointerArray< HBufC > &, const TBool) |
IMPORT_C TPtrC | GetCurrentWord() |
IMPORT_C TInt | GetFirstCandidate(TDes &) |
IMPORT_C TInt | GetNextCandidate(TDes &) |
IMPORT_C TInt | GetNextWordCandidateListL(CDesCArray &) |
IMPORT_C TPtrC | GetPhoneticSpelling(TInt) |
IMPORT_C TInt | GetPreviousCandidate(TDes &) |
IMPORT_C TInt | GetSpelling(TUint16, TDes &, TPtiSpelling) |
IMPORT_C TInt | GetUserDictionaryEntry(TInt, MPtiUserDictionaryEntry &, CPtiUserDictionary *) |
IMPORT_C TBool | IsToneMarkValidForSpelling() |
IMPORT_C CArrayFix< TInt > * | ListCoresLC() |
IMPORT_C TBool | MoreCandidatePages() |
IMPORT_C TBool | NextCandidatePage() |
IMPORT_C TInt | NumberOfCandidates() |
IMPORT_C TInt | NumberOfEntriesInUserDictionary(CPtiUserDictionary *) |
IMPORT_C TInt | PhoneticSpellingCount() |
IMPORT_C TBool | PreviousCandidatePage() |
IMPORT_C TPtrC | ReadingTextL() |
IMPORT_C TInt | RemoveUserDictionaryEntry(MPtiUserDictionaryEntry &, CPtiUserDictionary *) |
IMPORT_C TBool | SelectPhoneticSpelling(TInt) |
IMPORT_C TInt | SelectedPhoneticSpelling() |
IMPORT_C void | SetCandidatePageLength(TInt) |
IMPORT_C TInt | SetCurrentInputSequence(TPtrC8) |
IMPORT_C TInt | SetExternalKeyMapL(TPtiEngineInputMode, TPtiKey, TDesC &, TPtiTextCase) |
IMPORT_C TBool | SetPredictiveChineseChar(const TDesC &) |
IMPORT_C TBool | SetToneMark(TInt) |
IMPORT_C TBool | ToneMark(TText &) |
Detailed Description
This class is a base class implementation for MPtiCore. It contains empty base implemenations for core API methods and static methods for creating and listing PtiEngine core objects.
Constructor & Destructor Documentation
Member Function Documentation
AddUserDictionaryEntry ( MPtiUserDictionaryEntry &, CPtiUserDictionary * )
AttachUserDictionary ( CPtiUserDictionary * )
CommitCurrentWord ( )
IMPORT_C TInt | CommitCurrentWord | ( | ) | |
CompositionData ( )
IMPORT_C MPtiEngineCompositionDataInterface * | CompositionData | ( | ) | |
Convert ( TPtiCharConversion, TAny *, TInt, TAny * )
CreateCoreL ( TUid )
Creates in instance of core object for given implemenation uid.
Parameter | Description | aCoreUid | An ecom implementation uid for core object to be created. |
Returns: Pointer to new core object instance.
CreateEmptyUserDictionaryL ( TInt )
DetachUserDictionary ( CPtiUserDictionary * )
GetCandidateListL ( CDesCArray & )
GetCandidatePage ( )
IMPORT_C TPtrC | GetCandidatePage | ( | ) | |
GetCandidatesByInputString ( const TDesC &, RPointerArray< HBufC > &, const TBool )
GetCurrentWord ( )
IMPORT_C TPtrC | GetCurrentWord | ( | ) | const |
GetFirstCandidate ( TDes & )
IMPORT_C TInt | GetFirstCandidate | ( | TDes & | aResult | ) | |
GetNextCandidate ( TDes & )
IMPORT_C TInt | GetNextCandidate | ( | TDes & | aResult | ) | |
GetNextWordCandidateListL ( CDesCArray & )
GetPhoneticSpelling ( TInt )
IMPORT_C TPtrC | GetPhoneticSpelling | ( | TInt | aIndex | ) | const |
GetPreviousCandidate ( TDes & )
IMPORT_C TInt | GetPreviousCandidate | ( | TDes & | aResult | ) | |
GetSpelling ( TUint16, TDes &, TPtiSpelling )
GetUserDictionaryEntry ( TInt, MPtiUserDictionaryEntry &, CPtiUserDictionary * )
IsToneMarkValidForSpelling ( )
IMPORT_C TBool | IsToneMarkValidForSpelling | ( | ) | |
ListCoresLC ( )
Lists all the available PtiEngine core onject implemenatations.
Returns: Pointer to a list cantaining implementation uids for available core plugins.
MoreCandidatePages ( )
IMPORT_C TBool | MoreCandidatePages | ( | ) | |
NextCandidatePage ( )
IMPORT_C TBool | NextCandidatePage | ( | ) | |
NumberOfCandidates ( )
IMPORT_C TInt | NumberOfCandidates | ( | ) | |
NumberOfEntriesInUserDictionary ( CPtiUserDictionary * )
PhoneticSpellingCount ( )
IMPORT_C TInt | PhoneticSpellingCount | ( | ) | const |
PreviousCandidatePage ( )
IMPORT_C TBool | PreviousCandidatePage | ( | ) | |
ReadingTextL ( )
IMPORT_C TPtrC | ReadingTextL | ( | ) | |
RemoveUserDictionaryEntry ( MPtiUserDictionaryEntry &, CPtiUserDictionary * )
SelectPhoneticSpelling ( TInt )
IMPORT_C TBool | SelectPhoneticSpelling | ( | TInt | aIndex | ) | |
SelectedPhoneticSpelling ( )
IMPORT_C TInt | SelectedPhoneticSpelling | ( | ) | const |
SetCandidatePageLength ( TInt )
IMPORT_C void | SetCandidatePageLength | ( | TInt | aLength | ) | |
SetCurrentInputSequence ( TPtrC8 )
IMPORT_C TInt | SetCurrentInputSequence | ( | TPtrC8 | aInput | ) | |
SetExternalKeyMapL ( TPtiEngineInputMode, TPtiKey, TDesC &, TPtiTextCase )
SetPredictiveChineseChar ( const TDesC & )
IMPORT_C TBool | SetPredictiveChineseChar | ( | const TDesC & | aChar | ) | |