Link against: FavouritesEngine.lib
ReadUserData WriteUserData
#include <FavouritesFile.h>
Inherits RFavouritesHandle.
Each favourites item or folder can have an associated file with arbitrary content.
Public Member Functions | |
RFavouritesFile () | |
Constructor. | |
IMPORT_C void | Close () |
Close this object. | |
IMPORT_C TInt | Open (RFavouritesDb &aDb, TInt aUid) |
Open existing file with shared read-access. | |
IMPORT_C TInt | Replace (RFavouritesDb &aDb, TInt aUid) |
Create new file / replace existing with exclusive write-access. | |
IMPORT_C TInt | Read (TDes8 &aDes) const |
Read from file. | |
IMPORT_C TInt | Write (const TDesC8 &aDes) |
Writes to file. | |
IMPORT_C TInt | Size (TInt &aSize) const |
Get the size of the file. |
|
Constructor.
|
|
Close this object.
Reimplemented from RFavouritesHandle. |
|
Open existing file with shared read-access.
|
|
Read from file.
|
|
Create new file / replace existing with exclusive write-access. Existing content of the file, if any, is lost.
|
|
Get the size of the file.
|
|
Writes to file.
|