diff -r 6c59112cfd31 -r 38bf5461e270 ipsservices/ipssosplugin/src/ipsplgpop3connectop.cpp --- a/ipsservices/ipssosplugin/src/ipsplgpop3connectop.cpp Thu Sep 30 11:43:07 2010 +0300 +++ b/ipsservices/ipssosplugin/src/ipsplgpop3connectop.cpp Thu Oct 14 17:33:43 2010 +0300 @@ -32,6 +32,7 @@ // MFSMailRequestObserver& changed to pointer // aSignallingAllowed parameter added // aFetchWillFollow parameter added +// Silent connection parameter added CIpsPlgPop3ConnectOp* CIpsPlgPop3ConnectOp::NewL( CMsvSession& aMsvSession, TRequestStatus& aObserverRequestStatus, @@ -43,7 +44,8 @@ TInt aFSRequestId, CIpsPlgEventHandler* aEventHandler, TBool aSignallingAllowed, - TBool aFetchWillFollow ) + TBool aFetchWillFollow, + TBool aSilentConnection) { FUNC_LOG; CIpsPlgPop3ConnectOp* op = new(ELeave) CIpsPlgPop3ConnectOp( @@ -57,7 +59,8 @@ aFSRequestId, aEventHandler, aSignallingAllowed, - aFetchWillFollow ); + aFetchWillFollow, + aSilentConnection); CleanupStack::PushL( op ); op->ConstructL(); @@ -259,6 +262,7 @@ // aSignallingAllowed parameter added // aFetchWillFollow parameter added // iAlreadyConnected removed +// Silent connection parameter added CIpsPlgPop3ConnectOp::CIpsPlgPop3ConnectOp( CMsvSession& aMsvSession, TRequestStatus& aObserverRequestStatus, @@ -270,7 +274,8 @@ TInt aFSRequestId, CIpsPlgEventHandler* aEventHandler, TBool aSignallingAllowed, - TBool aFetchWillFollow ) + TBool aFetchWillFollow, + TBool aSilentConnection ) : CIpsPlgOnlineOperation( aMsvSession, @@ -283,7 +288,8 @@ iState( EIdle ), iForcePopulate( aForcePopulate ), iEventHandler( aEventHandler ), - iFetchWillFollow( aFetchWillFollow ) + iFetchWillFollow( aFetchWillFollow ), + iSilentConnection( aSilentConnection ) { iService = aServiceId; } @@ -337,6 +343,9 @@ FUNC_LOG; // unnecessary: iStatus = KRequestPending; NM_COMMENT("CIpsPlgPop3ConnectOp: connecting"); + + // select connection type based on iSilentConnection + // NOTE: Cannot be implemented yet, because MTM support is not released yet InvokeClientMtmAsyncFunctionL( KPOP3MTMConnect, iService ); // 1 param removed SetActive();