API published in: S60 1st Ed
Link against: favouritesengine.lib
Required Capabilities
ReadUserData WriteUserData
#include <favouriteswapap.h>
In addition to the AP Uid-s an item may hold "Use default" and "Unset/Null" values.
Public Member Functions | |
IMPORT_C | TFavouritesWapAp () |
C++ default constructor. | |
IMPORT_C TFavouritesWapAp & | operator= (const TFavouritesWapAp &aAp) |
Assignment operator (from another TFavouritesWapAp). | |
IMPORT_C TFavouritesWapAp & | operator= (TUint32 aApId) |
Assignment operator (from TUint32). | |
IMPORT_C void | SetNull () |
Set value is unset. | |
IMPORT_C void | SetDefault () |
Set value is "Default". | |
IMPORT_C void | SetApId (TUint32 aApId) |
Set value. | |
IMPORT_C TBool | IsNull () const |
Check if value is unset. | |
IMPORT_C TBool | IsDefault () const |
Check if value is "Default". | |
IMPORT_C TUint32 | ApId () const |
Get the AP id. | |
void | ExternalizeL (RWriteStream &aStream) const |
Externalize into a stream. | |
void | InternalizeL (RReadStream &aStream) |
Internalize from a stream. | |
Friends | |
class | RFavouritesSrvTable |
RFavouritesTable writes this into database. |
|
C++ default constructor. Initializes to "Default". |
|
Get the AP id. If the value is "Null" or "Default", this method panics. Check those before calling this method!
|
|
Externalize into a stream.
|
|
Internalize from a stream.
|
|
Check if value is "Default".
|
|
Check if value is unset.
|
|
Assignment operator (from TUint32). "Null" and "Default" properties cleared.
|
|
Assignment operator (from another TFavouritesWapAp).
|
|
Set value. "Null" and "Default" properties cleared.
|
|
Set value is "Default". Any previous value is lost.
|
|
Set value is unset. Any previous value is lost.
|
|
RFavouritesTable writes this into database. |