TFavouritesWapAp Class Reference

#include <mw/favouriteswapap.h>

Link against: favouritesengine.lib

class TFavouritesWapAp
Public Member Functions
TFavouritesWapAp()
IMPORT_C TUint32ApId()
voidExternalizeL(RWriteStream &)
voidInternalizeL(RReadStream &)
IMPORT_C TBoolIsDefault()
IMPORT_C TBoolIsNull()
IMPORT_C voidSetApId(TUint32)
IMPORT_C voidSetDefault()
IMPORT_C voidSetNull()
IMPORT_C TFavouritesWapAp &operator=(const TFavouritesWapAp &)
IMPORT_C TFavouritesWapAp &operator=(TUint32)

Detailed Description

TFavouritesWapAp is the representation one the Access Point used in favourites. In addition to the AP Uid-s an item may hold "Use default" and "Unset/Null" values.

Constructor & Destructor Documentation

TFavouritesWapAp ( )

IMPORT_CTFavouritesWapAp()
C++ default constructor. Initializes to "Default".
Since
0.9

Member Function Documentation

ApId ( )

IMPORT_C TUint32ApId()const
Get the AP id. If the value is "Null" or "Default", this method panics. Check those before calling this method!
Since
0.9
Return Value
AP id.

ExternalizeL ( RWriteStream & )

voidExternalizeL(RWriteStream &aStream)const
Externalize into a stream.
Since
0.9
Parameters
aStreamThe stream to externalize to.
Return Value
void

InternalizeL ( RReadStream & )

voidInternalizeL(RReadStream &aStream)
Internalize from a stream.
Since
0.9
Parameters
aStreamThe stream to externalize from.

IsDefault ( )

IMPORT_C TBoolIsDefault()const
Check if value is "Default".
Since
0.9
Return Value
ETrue if value is "Default".

IsNull ( )

IMPORT_C TBoolIsNull()const
Check if value is unset.
Since
0.9
Return Value
ETrue if value is unset.

SetApId ( TUint32 )

IMPORT_C voidSetApId(TUint32aApId)
Set value. "Null" and "Default" properties cleared.
Since
0.9
Parameters
aApIdAP id to set.
Return Value
void

SetDefault ( )

IMPORT_C voidSetDefault()
Set value is "Default". Any previous value is lost.
Since
0.9
Return Value
void

SetNull ( )

IMPORT_C voidSetNull()
Set value is unset. Any previous value is lost.
Since
0.9
Return Value
void

operator= ( const TFavouritesWapAp & )

IMPORT_C TFavouritesWapAp &operator=(const TFavouritesWapAp &aAp)
Assignment operator (from another TFavouritesWapAp).
Since
0.9
Parameters
aApAP to assign from.
Return Value
TFavouritesWapAp

operator= ( TUint32 )

IMPORT_C TFavouritesWapAp &operator=(TUint32aApId)
Assignment operator (from TUint32). "Null" and "Default" properties cleared.
Since
0.9
Parameters
aApIdAP id to assign from.
Return Value
TFavouritesWapAp