API published in: S60 1st Ed
API deprecated in: S60 3rd Ed FP 2
Link against: apengine.lib
Required Capabilities
None
Exceptions
Functions modifying database (Create, Update, Delete) need WriteDeviceData. (CApDataHandler, CApUtils Setxxx functions)
#include <apselect.h>
Selection can be tailored with specific filters, rules and sort order. Provides methods for setting and getting filters and sort order.
Public Member Functions |
|
virtual IMPORT_C | ~CApSelect () |
Destructor. |
|
IMPORT_C void | SetFiltersL (TInt aIspFilter, TInt aBearerFilter, TInt aSortType) |
Sets filters and sorting order for the list of available access points. |
|
IMPORT_C TInt | IspTypeFilter () |
Gets the current ISP-type filter. |
|
IMPORT_C TInt | BearerFilter () |
Gets the current bearer-type filter. |
|
IMPORT_C TInt | SortOrder () |
Gets the current sorting order. |
|
IMPORT_C TBool | MoveToFirst () |
Navigates to the first access point in the list. |
|
IMPORT_C TBool | MoveNext () |
Navigates to the next access point in the list. |
|
IMPORT_C TBool | MoveLast () |
Navigates to the last access point in the list. |
|
IMPORT_C TBool | MovePrev () |
Navigates to the previous access point in the list. |
|
IMPORT_C TUint32 | Count () |
Counts the items in the list. |
|
IMPORT_C const TDesC & | Name () |
Gets the name of the 'current' access point Ownership of the returned text is not passed. |
|
IMPORT_C TUint32 | Uid () |
Gets the UID of the current access point. |
|
IMPORT_C TCommsDbIspType | Type () |
Gets the ISP-type of the current access point. |
|
IMPORT_C TApBearerType | BearerType () |
Gets the bearer-type of the current access point. |
|
IMPORT_C TInt | AllListItemDataL (CApListItemList &aList) |
Provides all data in a CApListItemList array. |
|
IMPORT_C TBool | IsReadOnly () const |
Returns whether the current item is read-only or not. |
|
Static Public Member Functions |
|
static IMPORT_C CApSelect * | NewLC (CCommsDatabase &aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType) |
Two-phased constructor. |
|
static IMPORT_C CApSelect * | NewLC (CCommsDatabase &aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType) |
Two-phased constructor. |
|
static IMPORT_C CApSelect * | NewLC (CCommsDatabase &aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType, TVpnFilterType aVpnFilterType) |
Two-phased constructor. |
|
static IMPORT_C CApSelect * | NewLC (CCommsDatabase &aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType, TVpnFilterType aVpnFilterType, TBool aIncludeEasyWlan) |
Two-phased constructor. |
|
Protected Member Functions |
|
IMPORT_C | CApSelect () |
C++ default constructor. |
|
IMPORT_C void | ConstructL (CCommsDatabase &aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType) |
Second-phase constructor. |
|
IMPORT_C void | ConstructL (CCommsDatabase &aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType) |
Second-phase constructor. |
|
IMPORT_C void | ConstructL (CCommsDatabase &aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType, TVpnFilterType aVpnFilterType) |
Second-phase constructor. |
|
IMPORT_C void | ConstructL (CCommsDatabase &aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType, TVpnFilterType aVpnFilterType, TBool aIncludeEasyWlan) |
Second-phase constructor. |
|
Destructor. |
|
C++ default constructor. |
|
Provides all data in a CApListItemList array.
|
|
Gets the current bearer-type filter.
|
|
Gets the bearer-type of the current access point.
|
|
Second-phase constructor.
|
|
Second-phase constructor.
|
|
Second-phase constructor.
|
|
Second-phase constructor.
|
|
Counts the items in the list.
|
|
Gets the current ISP-type filter.
|
|
Returns whether the current item is read-only or not.
|
|
Navigates to the last access point in the list.
|
|
Navigates to the next access point in the list.
|
|
Navigates to the previous access point in the list.
|
|
Navigates to the first access point in the list.
|
|
Gets the name of the 'current' access point Ownership of the returned text is not passed.
|
|
Two-phased constructor. Leaves on failure, places instance on cleanup stack.
|
|
Two-phased constructor. Leaves on failure, places instance on cleanup stack.
|
|
Two-phased constructor. Leaves on failure, places instance on cleanup stack.
|
|
Two-phased constructor. Leaves on failure, places instance on cleanup stack.
|
|
Sets filters and sorting order for the list of available access points.
|
|
Gets the current sorting order.
|
|
Gets the ISP-type of the current access point.
|
|
Gets the UID of the current access point.
|