diff -r ecf6a73a9186 -r 60a8a215b0ec email/imap4mtm/imapsession/inc/cimapsessionmanager.h --- a/email/imap4mtm/imapsession/inc/cimapsessionmanager.h Tue Oct 05 13:58:47 2010 +0530 +++ b/email/imap4mtm/imapsession/inc/cimapsessionmanager.h Tue Oct 19 11:30:16 2010 +0530 @@ -86,7 +86,9 @@ IMPORT_C TInt GetAccessPointIdForConnection(TUint32& aAccessPointId) const; // Close the current network connection IMPORT_C void CloseNetworkConnection(); - + // Set whether silent connection is required or not + inline void SetSilentConnection(TBool aIsSilent); + private: // Construction routines CImapSessionManager(CImapSettings& aImapSettings, CImapMailStore& aImapMailStore); @@ -236,9 +238,20 @@ // Flag to indicate if there was an error while upgrading the socket to SSL/TLS. TBool iErrorUpgradingSSLSocket; + //Silent Connection + TBool iIsSilent; #if (defined SYMBIAN_EMAIL_CAPABILITY_SUPPORT) CImapAuthMechanismHelper::TImapAuthProfileFlag iCurrentAuthProfile; #endif }; +/** +Sets whether silent connection is required or not. If ETrue, Connection is established +without prompting the user. +*/ +inline void CImapSessionManager::SetSilentConnection(TBool aIsSilent) + { + iIsSilent = aIsSilent; + } + #endif // __CIMAPSESSIONMANAGER_H__