Link against: ptiengine.lib
#include <PtiUserDictionary.h>
Inherits MPtiUserDictionary.
Public Member Functions |
|
| virtual IMPORT_C | ~CPtiUserDictionary () |
| virtual IMPORT_C TInt | OpenL (TDesC &aFileName, TInt aMaxSize) |
| virtual IMPORT_C TInt | WriteL (TDesC &aFileName) |
| virtual IMPORT_C TInt | WriteL () |
| void | SetFileName (TDesC &aFileName) |
| TInt | Id () const |
| Returns user dictionary id value. |
|
| void | SetId (TInt aId) |
| TInt | Size () const |
| Returns size of user dictionary. |
|
| TInt32 | CoreUID () const |
| Returns Uid for core DLL. |
|
| void | SetCoreUID (TInt32 aUid) |
| virtual TPtr8 | Data () |
| TBool | IsDefault () const |
| Returns a boolean value indicating whether this is the default user dictionary. |
|
| void | SetDefault (TBool aValue) |
| TPtrC | FileName () const |
| Reuturns user dictionary file name. |
|
| TBool | UpdateFlag () const |
| If this flag is set, PtiEngine framework calls WriteL before exiting. |
|
| void | SetUpdateFlag (TBool aFlag) |
| Set update flag to given value. |
|
| TInt | SymbolClass () const |
| void | SetSymbolClass (TInt aSymbolClass) |
| virtual IMPORT_C TInt | SpaceLeft () const |
| Returns the amount of free space in user dictionary. |
|
| virtual IMPORT_C void | SetDataL (TAny *aData, TInt aLength) |
Static Public Member Functions |
|
| static IMPORT_C CPtiUserDictionary * | NewL (TInt aMaxSize) |
| static IMPORT_C CPtiUserDictionary * | NewL (TDesC &aFileName, TInt aMaxSize) |
Protected Member Functions |
|
| IMPORT_C | CPtiUserDictionary () |
Protected Attributes |
|
| TFileName | iFileName |
| HBufC8 * | iData |
| TInt | iId |
| TInt32 | iCoreUID |
| TBool | iDefault |
| TBool | iUpdateFlag |
| TInt | iSymbolClass |
| TUint32 | iChecksum |
|
|
|
|
Returns Uid for core DLL.
Implements MPtiUserDictionary. |
|
|
|
Reuturns user dictionary file name.
Implements MPtiUserDictionary. |
|
|
Returns user dictionary id value.
Implements MPtiUserDictionary. |
|
|
Returns a boolean value indicating whether this is the default user dictionary.
Implements MPtiUserDictionary. |
|
||||||||||||
|
|
||||||||||||
|
|
||||||||||||
|
|
|
|
|
|
Set update flag to given value. If update flag is set, PtiEngine tries to save user dictionary when PtiEngine destructor is called.
Implements MPtiUserDictionary. |
|
|
Returns size of user dictionary.
Implements MPtiUserDictionary. |
|
|
Returns the amount of free space in user dictionary.
Implements MPtiUserDictionary. |
|
|
|
If this flag is set, PtiEngine framework calls WriteL before exiting.
Implements MPtiUserDictionary. |
|
|
|
|
|
|
|
|
|
|