const TLitC< sizeof(L"http:const static TLitC<sizeof(L"Mobile" )/2> KLocation ={sizeof(L"Mobile" )/2-1,L"Mobile" };const static TLitC<sizeof(L"CSD Modem" )/2> KModemBearerCSD ={sizeof(L"CSD Modem" )/2-1,L"CSD Modem" }; const static TLitC<sizeof(L"GPRS Modem" )/2> KModemBearerGPRS ={sizeof(L"GPRS Modem" )/2-1,L"GPRS Modem" };const static TLitC<sizeof(L"CDMA Modem" )/2> KModemBearerCDMA ={sizeof(L"CDMA Modem" )/2-1,L"CDMA Modem" };const static TLitC<sizeof(L"WLANBearer" )/2> KModemBearerWLAN ={sizeof(L"WLANBearer" )/2-1,L"WLANBearer" };const static TLitC<sizeof(L"LANBearer" )/2> KModemBearerLAN ={sizeof(L"LANBearer" )/2-1,L"LANBearer" };const static TLitC<sizeof(L"LANModem" )/2> KModemBearerLANModem ={sizeof(L"LANModem" )/2-1,L"LANModem" };const TInt KRetryCount = 5;#define KRetryWaitconst TUint32 KCallBackTimeOut = 60000000;const static TLitC<sizeof(L"0:0:0:0:0:0:0:0" )/2> KDynIpv6Address ={sizeof(L"0:0:0:0:0:0:0:0" )/2-1,L"0:0:0:0:0:0:0:0" };const static TLitC<sizeof(L"NetCfgExtnDhcp" )/2> KDaemonManagerName ={sizeof(L"NetCfgExtnDhcp" )/2-1,L"NetCfgExtnDhcp" };const static TLitC<sizeof(L"!DhcpServ" )/2> KConfigDaemonName ={sizeof(L"!DhcpServ" )/2-1,L"!DhcpServ" };# 29 "X:/epoc32/include/mw/ApSelect.h" 2class CApListItem;class CApListItemList;class CApUtils;enum TVpnFilterType { EVpnFilterVpnOnly, EVpnFilterNoVpn, EVpnFilterBoth };typedef struct { TInt iMaxIndex; TInt iReqIpvType; TInt iIsIpv6Supported; TInt iExtra; TBool iIsFeatureManagerInitialised; TBool iCdma; TInt iVpnFilterType; TBool iWlanSupported; TBool iIncludeEasyWlan; }TSelectExtra;typedef struct { TUint32 iVpnIapId; TUint32 iHomeIapId; TUint32 iHomeSnapId; HBufC * iName; }TVpnData;class CApSelect :public CBase { public: IMPORT_C static CApSelect* NewLC( CCommsDatabase& aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType ); IMPORT_C static CApSelect* NewLC( CCommsDatabase& aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType ); IMPORT_C static CApSelect* NewLC( CCommsDatabase& aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType, TVpnFilterType aVpnFilterType ); IMPORT_C static CApSelect* NewLC( CCommsDatabase& aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType, TVpnFilterType aVpnFilterType, TBool aIncludeEasyWlan ); IMPORT_C virtual ~CApSelect(); protected: IMPORT_C CApSelect(); IMPORT_C void ConstructL( CCommsDatabase& aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType ); IMPORT_C void ConstructL( CCommsDatabase& aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType ); IMPORT_C void ConstructL( CCommsDatabase& aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType, TVpnFilterType aVpnFilterType ); IMPORT_C void ConstructL( CCommsDatabase& aDb, TInt aIspFilter, TInt aBearerFilter, TInt aSortType, TInt aReqIpvType, TVpnFilterType aVpnFilterType, TBool aIncludeEasyWlan ); public: IMPORT_C void SetFiltersL( TInt aIspFilter, TInt aBearerFilter, TInt aSortType ); IMPORT_C TInt IspTypeFilter(); IMPORT_C TInt BearerFilter(); IMPORT_C TInt SortOrder(); IMPORT_C TBool MoveToFirst(); IMPORT_C TBool MoveNext(); IMPORT_C TBool MoveLast(); IMPORT_C TBool MovePrev(); IMPORT_C TUint32 Count(); IMPORT_C const TDesC& Name(); IMPORT_C TUint32 Uid(); IMPORT_C TCommsDbIspType Type(); IMPORT_C TApBearerType BearerType(); IMPORT_C TInt AllListItemDataL( CApListItemList& aList ); IMPORT_C TBool IsReadOnly() const; private: TInt DoUpdateL(); CCommsDbTableView* GetFilteredSortedWapTableViewLC(); CCommsDbTableView* GetFilteredSortedIpBearerTableViewLC(); CCommsDbTableView* GetFilteredSortedIspOutTableViewLC(); CCommsDbTableView* GetFilteredSortedGprsTableViewLC( TBool aIn ); void GetUintValuesL ( CCommsDbTableView* aTable, const TDesC& aField, CArrayFixFlat<TUint32>& aArray ); void GetProtValuesL( CCommsDbTableView* aTable, CArrayFixFlat<TUint32>& aArray ); void GetTextValuesL ( CCommsDbTableView* aTable, const TDesC& aField, CArrayPtrFlat<HBufC>& aArray ); void GetLongTextValuesL ( CCommsDbTableView* aTable, const TDesC& aField, CArrayPtrFlat<HBufC>& aArray ); TBool IsInArray( CArrayFixFlat<TUint32>* aArray, TUint32 aValue ); TInt PosInArray( CArrayFixFlat<TUint32>* aArray, TUint32 aValue ); TInt GetItemPos( CApListItemList* aTmpApList, TUint32 aId ); CCommsDbTableView* OpenViewMatchingTextL ( const TDesC& aTableName, const TDesC& aColumnToMatch, const TDesC16& aValueToMatch ); void GetIspValuesL ( CCommsDbTableView* aTable, CArrayFixFlat<TUint32 | HandleApDbEventL | [static] |