#include <mw/PtiUserDictionary.h>
| class MPtiUserDictionary |
| Public Member Functions | |
|---|---|
| pure virtual TInt32 | CoreUID() |
| pure virtual TPtrC | FileName() |
| pure virtual TInt | Id() |
| pure virtual TBool | IsDefault() |
| pure virtual void | SetUpdateFlag(TBool) |
| pure virtual TInt | Size() |
| pure virtual TInt | SpaceLeft() |
| pure virtual TBool | UpdateFlag() |
A base class for PtiEngine user dictionary implementations. Normally not needed by a client side application.
| TInt32 | CoreUID | ( | ) | const [pure virtual] |
Returns Uid for core DLL.
Returns: Uid value for core DLL.
| TPtrC | FileName | ( | ) | const [pure virtual] |
Reuturns user dictionary file name.
Returns: User dictionary file name.
| TInt | Id | ( | ) | const [pure virtual] |
Returns user dictionary id value.
Returns: User dictionary id value.
| TBool | IsDefault | ( | ) | const [pure virtual] |
Returns a boolean value indicating whether this is the default user dictionary.
Returns: ETrue if this user dictionary is default user dictionary. EFalse if not.
| void | SetUpdateFlag | ( | TBool | aFlag | ) | [pure virtual] |
Set update flag to given value. If update flag is set, PtiEngine tries to save user dictionary when PtiEngine destructor is called.
| Parameter | Description |
|---|---|
| aFlag | New status for the update flag. |
| TInt | Size | ( | ) | const [pure virtual] |
Returns size of user dictionary.
Returns: Size of user dictionary.
| TInt | SpaceLeft | ( | ) | const [pure virtual] |
Returns the amount of free space in user dictionary.
Returns: The Amount of free space in dictionary. Negative value if the amount of free space value couldn't be found out.
| TBool | UpdateFlag | ( | ) | const [pure virtual] |
If this flag is set, PtiEngine framework calls WriteL before exiting.
Returns: A boolean valua indicating status of the update flag.