RFavouritesFile Class Reference
#include
<mw/favouritesfile.h>
class RFavouritesFile : public RFavouritesHandle |
Detailed Description
RFavouritesFile is a class derived from RFavouritesHandle. Each favourites item or folder can have an associated file with arbitrary content.
Constructor & Destructor Documentation
RFavouritesFile ( )
RFavouritesFile | ( | ) | [inline] |
Member Function Documentation
Close ( )
Close this object.
- Since
- 0.9
Open ( RFavouritesDb &, TInt )
Open existing file with shared read-access.
- Since
- 0.9
Parameter | Description | aDb | Database handle. |
aUid | Uid of item. |
Read ( TDes8 & )
Read from file.
- Since
- 0.9
Parameter | Description | aDes | Descriptor into which binary data is read. Any existing contents are overwritten. On return, its length is set to the number of bytes read. |
Replace ( RFavouritesDb &, TInt )
Create new file / replace existing with exclusive write-access. Existing content of the file, if any, is lost.
- Since
- 0.9
Parameter | Description | aDb | Database handle. |
aUid | Uid of item. |
Size ( TInt & )
Get the size of the file.
- Since
- 0.9
Parameter | Description | aSize | Gives back the size of the file. |
Write ( const TDesC8 & )
Writes to file.
- Since
- 0.9
Parameter | Description | aDes | Descriptor from which binary data is written. |