equal
deleted
inserted
replaced
21 |
21 |
22 #include <e32base.h> |
22 #include <e32base.h> |
23 #include <commdb.h> |
23 #include <commdb.h> |
24 #include <cdbstore.h> |
24 #include <cdbstore.h> |
25 #include <in_iface.h> |
25 #include <in_iface.h> |
26 |
26 #include <extendedconnpref.h> |
27 #include <nifman.h> |
27 #include <nifman.h> |
28 #include <connectprog.h> |
28 #include <connectprog.h> |
29 #include <commdbconnpref.h> |
29 #include <commdbconnpref.h> |
30 #include <es_enum.h> |
30 #include <es_enum.h> |
31 #include <nsmldebug.h> |
31 #include <nsmldebug.h> |
38 class CNSmlDialUpAgent : public CActive |
38 class CNSmlDialUpAgent : public CActive |
39 { |
39 { |
40 |
40 |
41 public: |
41 public: |
42 CNSmlDialUpAgent(); |
42 CNSmlDialUpAgent(); |
43 void ConstructL(); |
43 void ConstructL(TBool aDmJob); |
44 void ConnectL( CArrayFixFlat<TUint32>* aIAPIdArray, TRequestStatus &aStatus ); |
44 void ConnectL( CArrayFixFlat<TUint32>* aIAPIdArray, TRequestStatus &aStatus ); |
45 ~CNSmlDialUpAgent(); |
45 ~CNSmlDialUpAgent(); |
46 |
46 |
47 private: |
47 private: |
48 void DoCancel(); |
48 void DoCancel(); |
52 TBool IsConnectedL() const; |
52 TBool IsConnectedL() const; |
53 void DoSettingsL(); |
53 void DoSettingsL(); |
54 void StartDatacallL(); |
54 void StartDatacallL(); |
55 void AttachToConnectionL(); |
55 void AttachToConnectionL(); |
56 TBool IsInOfflineModeL(); |
56 TBool IsInOfflineModeL(); |
|
57 void IsRoamingL(TBool& aRoaming); |
57 private: |
58 private: |
58 TRequestStatus* iEngineStatus; |
59 TRequestStatus* iEngineStatus; |
59 RConnection iConnection; |
60 RConnection iConnection; |
60 RSocketServ iSocketServer; |
61 RSocketServ iSocketServer; |
61 |
62 TUint iIAPid; |
62 TUint iIAPid; |
|
63 TCommDbConnPref iPref; |
|
64 TBool iCancelCalled; |
63 TBool iCancelCalled; |
65 TBool iSocketConnection; |
64 TBool iSocketConnection; |
66 CArrayFixFlat<TUint32>* iIAPArray; |
65 CArrayFixFlat<TUint32>* iIAPArray; |
67 TInt iIAPCnt; |
66 TInt iIAPCnt; |
68 TInt iOffline; |
67 TInt iOffline; |
69 TBool iTimerReturn; |
68 TBool iTimerReturn; |
70 TInt iRetryCounter; |
69 TInt iRetryCounter; |
71 RTimer iTimer; |
70 RTimer iTimer; |
|
71 TConnPrefList iPrefList; |
|
72 TExtendedConnPref iExtPrefs; |
|
73 TBool iDmjob; |
72 |
74 |
73 private: |
75 private: |
74 friend class CNSmlHTTP; |
76 friend class CNSmlHTTP; |
75 |
77 |
76 }; |
78 }; |