email/pop3andsmtpmtm/servermtmutils/inc/imutcon.h
changeset 76 60a8a215b0ec
parent 0 72b543305e3a
--- a/email/pop3andsmtpmtm/servermtmutils/inc/imutcon.h	Tue Oct 05 13:58:47 2010 +0530
+++ b/email/pop3andsmtpmtm/servermtmutils/inc/imutcon.h	Tue Oct 19 11:30:16 2010 +0530
@@ -94,6 +94,14 @@
 	*/
 	IMPORT_C TInt GetLastSocketActivityTimeout(TUint32& aTimeout);
 
+	/**
+     @fn            SetSilentConnection(TBool aSilent)
+     Intended Usage :  Sets value for silent connection.
+     @since         10.1
+     @param         aSilent is true if silent connection is required.
+     */
+	inline void SetSilentConnection(TBool aIsSilentConn);
+	    
 #ifdef __IMSK_SIMULATION
 	// the code will ignore the first aIAPsToFail iaps in the preferences passed in.
 	// if this is more than the number of iaps then it will fail with KErrEtelModemNotDetected
@@ -147,7 +155,16 @@
 	// if this is more than the number of iaps then it will fail with KErrEtelModemNotDetected
 	TInt iIAPsToFail;
 #endif
+		   
+    //Indicates whether silent connection is chosen.
+    TBool iIsSilentConn;
 	};
 
+// Silent Connection
+inline void CImConnect::SetSilentConnection(TBool aIsSilentConn)
+    {
+    iIsSilentConn = aIsSilentConn;
+    }
+
 #endif