equal
deleted
inserted
replaced
20 #ifndef IAUPDATEFWSYNCHANDLER_H |
20 #ifndef IAUPDATEFWSYNCHANDLER_H |
21 #define IAUPDATEFWSYNCHANDLER_H |
21 #define IAUPDATEFWSYNCHANDLER_H |
22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 #include <e32base.h> |
24 #include <e32base.h> |
25 #include <AknProgressDialog.h> |
|
26 #include <SyncMLObservers.h> |
25 #include <SyncMLObservers.h> |
27 #include <cmmanagerext.h> |
26 #include <cmmanager.h> |
28 |
27 |
29 #include "iaupdatefwsyncutil.h" |
28 #include "iaupdatefwsyncutil.h" |
30 #include "iaupdatefwsyncprofile.h" |
29 #include "iaupdatefwsyncprofile.h" |
31 |
30 |
32 #include "iaupdatefwconst.h" |
31 #include "iaupdatefwconst.h" |
45 * |
44 * |
46 */ |
45 */ |
47 NONSHARABLE_CLASS (CIAUpdateFWSyncHandler) : public CBase, |
46 NONSHARABLE_CLASS (CIAUpdateFWSyncHandler) : public CBase, |
48 public MIAUpdateFWActiveCallerObserver, |
47 public MIAUpdateFWActiveCallerObserver, |
49 public MSyncMLEventObserver, |
48 public MSyncMLEventObserver, |
50 public MSyncMLProgressObserver, |
49 public MSyncMLProgressObserver |
51 public MProgressDialogCallback |
|
52 |
|
53 { |
50 { |
54 public: |
51 public: |
55 /** |
52 /** |
56 * Two-phased constructor. |
53 * Two-phased constructor. |
57 */ |
54 */ |
273 TBool SyncRunning(); |
270 TBool SyncRunning(); |
274 |
271 |
275 private: |
272 private: |
276 |
273 |
277 TUint32 SelectConnectionMethodL(); |
274 TUint32 SelectConnectionMethodL(); |
278 TUint32 GetBestIAPInInternetSNAPL( RCmManagerExt& aCmManagerExt ); |
275 TUint32 GetBestIAPInInternetSNAPL( RCmManager& aCmManager ); |
279 TUint32 GetBestIAPInThisSNAPL( RCmManagerExt& aCmManagerExt, TUint32 aSNAPID ); |
276 TUint32 GetBestIAPInThisSNAPL( RCmManager& aCmManager, TUint32 aSNAPID ); |
280 |
277 |
281 private: |
278 private: |
282 // session with sync server |
279 // session with sync server |
283 RSyncMLSession* iSyncSession; |
280 RSyncMLSession* iSyncSession; |
284 // app engine |
281 // app engine |