iaupdate/IAD/firmwareupdate/inc/iaupdatefwsynchandler.h
branchRCL_3
changeset 66 8b7f4e561641
parent 65 7333d7932ef7
equal deleted inserted replaced
65:7333d7932ef7 66:8b7f4e561641
    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>
    25 #include <SyncMLObservers.h>
    26 #include <SyncMLObservers.h>
    26 #include <cmmanager.h>
    27 #include <cmmanagerext.h>
    27 
    28 
    28 #include "iaupdatefwsyncutil.h"
    29 #include "iaupdatefwsyncutil.h"
    29 #include "iaupdatefwsyncprofile.h"
    30 #include "iaupdatefwsyncprofile.h"
    30 
    31 
    31 #include "iaupdatefwconst.h"
    32 #include "iaupdatefwconst.h"
    44 * 
    45 * 
    45 */
    46 */
    46 NONSHARABLE_CLASS (CIAUpdateFWSyncHandler) : public CBase, 
    47 NONSHARABLE_CLASS (CIAUpdateFWSyncHandler) : public CBase, 
    47 						public MIAUpdateFWActiveCallerObserver,
    48 						public MIAUpdateFWActiveCallerObserver,
    48 						public MSyncMLEventObserver,
    49 						public MSyncMLEventObserver,
    49 						public MSyncMLProgressObserver
    50 						public MSyncMLProgressObserver,
       
    51 						public MProgressDialogCallback
       
    52 						
    50 	{
    53 	{
    51     public:
    54     public:
    52         /**
    55         /**
    53         * Two-phased constructor.
    56         * Two-phased constructor.
    54         */
    57         */
   270 		TBool SyncRunning();
   273 		TBool SyncRunning();
   271 
   274 
   272     private:
   275     private:
   273         
   276         
   274         TUint32 SelectConnectionMethodL();
   277         TUint32 SelectConnectionMethodL();
   275         TUint32 GetBestIAPInInternetSNAPL( RCmManager& aCmManager );
   278         TUint32 GetBestIAPInInternetSNAPL( RCmManagerExt& aCmManagerExt  );
   276         TUint32 GetBestIAPInThisSNAPL( RCmManager& aCmManager, TUint32 aSNAPID  );
   279         TUint32 GetBestIAPInThisSNAPL( RCmManagerExt& aCmManagerExt, TUint32 aSNAPID  );
   277 
   280 
   278     private:
   281     private:
   279 		// session with sync server
   282 		// session with sync server
   280 		RSyncMLSession*                 iSyncSession;
   283 		RSyncMLSession*                 iSyncSession;
   281 		// app engine
   284 		// app engine