MTruiEngine Class Reference
MTruiEngine class. The interface between HWR engine and TrainUI application
| Public Member Functions |
|---|
| void | ChangeShortcutTextL(const TDesC &, const TDesC &) |
|
TBool
| CharacterModelExist(const TDesC &) |
|
TBool
| CheckShortcutModel(const TDesC &) |
|
TInt
| DeleteCharacterModel(const TDesC &) |
|
TInt
| DeleteShortcutModel(const TDesC &) |
| void | GetAllPresetSymbolsL(RArray< TUint > &) |
| void | GetCharacterModelL(const TDesC &, RArray< TPoint > &) |
|
TInt
| GetGuidingLinePos(const TSize &, TInt &, TInt &) |
| void | GetPresetSymbolByUnicodeL(TUint, RArray< TPoint > &, TDes &) |
| void | GetShortcutModelL(const TDesC &, RArray< TPoint > &, TUint &) |
| void | GetShortcutTextListL(RPointerArray< HBufC > &) |
|
TInt
| MaxShortCutLength() |
| void | SavePresetShortcutL(TUint, const TDesC &) |
| void | SetCharacterModelL(const TDesC &, RArray< TPoint > &, TInt, TDes &) |
| void | SetLanguageScriptL(TInt) |
| void | SetShortcutModelL(const TDesC &, RArray< TPoint > &, TDes &) |
Member Functions Documentation
ChangeShortcutTextL(const TDesC &, const TDesC &)
| void | ChangeShortcutTextL | ( | const TDesC & | aOldText, |
| | const TDesC & | aNewText |
| | ) | [pure virtual] |
Change the text of an existing shortcut
Parameters
| const TDesC & aOldText | The text of an existing shortcut |
| const TDesC & aNewText | The new text of the shortcut |
CharacterModelExist(const TDesC &)
|
TBool
| CharacterModelExist | ( | const TDesC & | aChar | ) | [pure virtual] |
Check if character has model
Parameters
| const TDesC & aChar | The character which is checked |
CheckShortcutModel(const TDesC &)
|
TBool
| CheckShortcutModel | ( | const TDesC & | aText | ) | [pure virtual] |
Check if shortcut has model
Parameters
| const TDesC & aText | The shortcut which is checked |
DeleteCharacterModel(const TDesC &)
|
TInt
| DeleteCharacterModel | ( | const TDesC & | aChar | ) | [pure virtual] |
Parameters
| const TDesC & aChar | Delete this character's model |
DeleteShortcutModel(const TDesC &)
|
TInt
| DeleteShortcutModel | ( | const TDesC & | aText | ) | [pure virtual] |
Parameters
| const TDesC & aText | Delete this Shortcut's model |
GetAllPresetSymbolsL(RArray< TUint > &)
| void | GetAllPresetSymbolsL | ( | RArray< TUint > & | aPresets | ) | [pure virtual] |
Return all unicodes of preset text stored in PTI engine
Parameters
| RArray< TUint > & aPresets | All preset text's unicodes are stored in this array. |
GetCharacterModelL(const TDesC &, RArray< TPoint > &)
Parameters
| const TDesC & aChar | Get this character's model |
| RArray< TPoint > & aModel | Array of points where the character's model is stored. |
GetGuidingLinePos(const TSize &, TInt &, TInt &)
Get guiding line pos
The are
Parameters
| const TSize & aSize | |
| TInt & aTop | The vertical coordinate of top guiding line |
| TInt & aBottom | The vertical coordinate of bottom guiding line |
GetPresetSymbolByUnicodeL(TUint, RArray< TPoint > &, TDes &)
Get trails assigned to a preset text.
Parameters
| TUint aUnicode | The unicode of the preset text. |
| RArray< TPoint > & aModel | Store trails of the preset text. |
| TDes & aShortcut | Indicate whether the preset text has been assigned to a shortcut text. If KNullDesC, it is not in use. |
GetShortcutModelL(const TDesC &, RArray< TPoint > &, TUint &)
Get trails assigned to the specified shortcut.
Parameters
| const TDesC & aText | The specified shortcut text |
| RArray< TPoint > & aModel | Trails of the shortcut. |
| TUint & aUnicode | The assigned preset text if it is a preset shortcut, otherwise, it is 0; |
GetShortcutTextListL(RPointerArray< HBufC > &)
Get text list of all the shortcuts
MaxShortCutLength()
|
TInt
| MaxShortCutLength | ( | ) | [pure virtual] |
Get the number of the maximum of shortcuts
SavePresetShortcutL(TUint, const TDesC &)
| void | SavePresetShortcutL | ( | TUint | aUnicode, |
| | const TDesC & | aShortcut |
| | ) | [pure virtual] |
Parameters
| TUint aUnicode | The assigned preset text. |
| const TDesC & aShortcut | The shortcut to be save. |
SetCharacterModelL(const TDesC &, RArray< TPoint > &, TInt, TDes &)
Parameters
| const TDesC & aChar | Set model to this character |
| RArray< TPoint > & aModel | Array of points where the character's model is stored. Shall set the value to TPtiHwrRange. if not accepted by engine, store the conflict char |
| TInt aSubRange | |
| TDes & aSimilarChar | |
SetLanguageScriptL(TInt)
| void | SetLanguageScriptL | ( | TInt | aLanguageScript | ) | [pure virtual] |
Set current trained character's Language Script
Parameters
| TInt aLanguageScript | current trained character's Language Script |
SetShortcutModelL(const TDesC &, RArray< TPoint > &, TDes &)
Parameters
| const TDesC & aText | Set model to this Shortcut |
| RArray< TPoint > & aModel | Array of points where the Shortcut's model is stored. |
| TDes & aSimilarText | Store the conflict text if exist. |
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.