#include <mw/ApListItem.h>
class CApListItem : public CBase |
Public Member Functions | |
---|---|
virtual | ~CApListItem() |
IMPORT_C TApBearerType | BearerType() |
IMPORT_C void | CopyFromL(const CApListItem &) |
IMPORT_C TBool | IsReadOnly() |
TBool | IsVpnAp() |
IMPORT_C const TDesC & | Name() |
IMPORT_C CApListItem * | NewLC() |
IMPORT_C CApListItem * | NewLC(TCommsDbIspType, TUint32, const TDesC &, TApBearerType) |
IMPORT_C CApListItem * | NewLC(TCommsDbIspType, TUint32, const TDesC &, TApBearerType, const TDesC &, TBool) |
IMPORT_C CApListItem * | NewLC(CApListItem *) |
IMPORT_C void | SetItemL(TCommsDbIspType, TUint32, const TDesC &, TApBearerType) |
IMPORT_C void | SetItemL(TCommsDbIspType, TUint32, const TDesC &, TApBearerType, const TDesC &) |
void | SetVpnFlag(TBool) |
IMPORT_C const TDesC & | StartPage() |
IMPORT_C TCommsDbIspType | Type() |
IMPORT_C TUint32 | Uid() |
Protected Member Functions | |
---|---|
CApListItem() | |
IMPORT_C void | ConstructL(TCommsDbIspType, TUint32, const TDesC &, TApBearerType) |
IMPORT_C void | ConstructL(TCommsDbIspType, TUint32, const TDesC &, TApBearerType, const TDesC &) |
IMPORT_C void | ConstructL() |
void | CreateExtraL() |
Representation of a list item.< This class is used to hold the main information of an access point. It is used in CApSelect.
IMPORT_C TApBearerType | BearerType | ( | ) |
Gets the bearer-type of the current access point Deprecated
Returns: The bearer-type of the current access point.
IMPORT_C void | ConstructL | ( | TCommsDbIspType | aIspType, |
TUint32 | aUid, | |||
const TDesC & | aName, | |||
TApBearerType | aBearerType | |||
) | [protected] |
NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. Second-phase constructor. Deprecated
Parameter | Description |
---|---|
aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
aUid | The ID of the access point |
aName | The name of the access point |
aBearerType | The bearer type of the access point |
IMPORT_C void | ConstructL | ( | TCommsDbIspType | aIspType, |
TUint32 | aUid, | |||
const TDesC & | aName, | |||
TApBearerType | aBearerType, | |||
const TDesC & | aStartPage | |||
) | [protected] |
Second-phase constructor. Deprecated
Parameter | Description |
---|---|
aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
aUid | The ID of the access point |
aName | The name of the access point |
aBearerType | The bearer type of the access point |
IMPORT_C void | CopyFromL | ( | const CApListItem & | aCopyFrom | ) |
Copies the data from another CApListItem Substitutes the "Assignment operator." Deprecated
Returns: No return value.
IMPORT_C TBool | IsReadOnly | ( | ) | const |
Returns whether the access point is read-only or not. Deprecated
Returns: Whether the access point is read-only or not.
TBool | IsVpnAp | ( | ) | const |
Returnes whether the given access point is a VPN ap or not.
Returns: whether the given access point is a VPN ap or not.
IMPORT_C const TDesC & | Name | ( | ) |
Gets the name of the 'current' access point Ownership of the returned text is not passed. Deprecated
Returns: The name of the current access point
IMPORT_C CApListItem * | NewLC | ( | ) | [static] |
Two-phased constructor. Leaves on failure, places instance on cleanup stack. Deprecated
Returns: The constructed CApListItem.
IMPORT_C CApListItem * | NewLC | ( | TCommsDbIspType | aIspType, |
TUint32 | aUid, | |||
const TDesC & | aName, | |||
TApBearerType | aBearerType | |||
) | [static] |
NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. Two-phased constructor. Leaves on failure, places instance on cleanup stack. Deprecated
Parameter | Description |
---|---|
aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
aUid | The ID of the access point |
aName | The name of the access point |
aBearerType | The bearer type of the access point |
Returns: The constructed CApListItem.
IMPORT_C CApListItem * | NewLC | ( | TCommsDbIspType | aIspType, |
TUint32 | aUid, | |||
const TDesC & | aName, | |||
TApBearerType | aBearerType, | |||
const TDesC & | aStartPage, | |||
TBool | aReadOnly = ETrue | |||
) | [static] |
Two-phased constructor. Leaves on failure, places instance on cleanup stack. Deprecated
Parameter | Description |
---|---|
aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
aUid | The ID of the access point |
aName | The name of the access point |
aBearerType | The bearer type of the access point |
aReadOnly | Whether the given item is read-only or not |
Returns: The constructed CApListItem.
IMPORT_C CApListItem * | NewLC | ( | CApListItem * | aItem | ) | [static] |
Two-phased constructor. Leaves on failure, places instance on cleanup stack. Deprecated
Parameter | Description |
---|---|
aItem | a pointer to a CApListItem. |
Returns: The constructed CApListItem.
IMPORT_C void | SetItemL | ( | TCommsDbIspType | aIspType, |
TUint32 | aUid, | |||
const TDesC & | aName, | |||
TApBearerType | aBearerType | |||
) |
NOTE: This function is deprecated, use the one with the additional aStartPage parameter below. Sets item values of the access point. Leaves on failure. Deprecated
Parameter | Description |
---|---|
aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
aUid | The ID of the access point |
aName | The name of the access point |
aBearerType | The bearer type of the access point |
IMPORT_C void | SetItemL | ( | TCommsDbIspType | aIspType, |
TUint32 | aUid, | |||
const TDesC & | aName, | |||
TApBearerType | aBearerType, | |||
const TDesC & | aStartpage | |||
) |
Sets item values of the access point. Leaves on failure. Deprecated
Parameter | Description |
---|---|
aIspType | The type of the access point (Internet only, Wap only, Internet AND Wap) |
aUid | The ID of the access point |
aName | The name of the access point |
aBearerType | The bearer type of the access point |
aStartpage | The starting page of the access point |
void | SetVpnFlag | ( | TBool | aIsVpn | ) |
Sets whether the given access point is a VPN ap or not.
IMPORT_C const TDesC & | StartPage | ( | ) | const |
Returns the startpage of the current access point if any, otherwise, an empty string is returned. Ownership of the returned text is not passed. Deprecated
Returns: The startpage of the current access point.
IMPORT_C TCommsDbIspType | Type | ( | ) |
Gets the ISP-type of the current access point Deprecated
Returns: The ISP-type of the current access point.
IMPORT_C TUint32 | Uid | ( | ) |
Gets the UID of the current access point Deprecated
Returns: The UID of the current access point