equal
deleted
inserted
replaced
92 @post aTimeout will be filled with the timeout value |
92 @post aTimeout will be filled with the timeout value |
93 @return Returns KErrNone, KErrNotFound or KErrBadHandle |
93 @return Returns KErrNone, KErrNotFound or KErrBadHandle |
94 */ |
94 */ |
95 IMPORT_C TInt GetLastSocketActivityTimeout(TUint32& aTimeout); |
95 IMPORT_C TInt GetLastSocketActivityTimeout(TUint32& aTimeout); |
96 |
96 |
|
97 /** |
|
98 @fn SetSilentConnection(TBool aSilent) |
|
99 Intended Usage : Sets value for silent connection. |
|
100 @since 10.1 |
|
101 @param aSilent is true if silent connection is required. |
|
102 */ |
|
103 inline void SetSilentConnection(TBool aIsSilentConn); |
|
104 |
97 #ifdef __IMSK_SIMULATION |
105 #ifdef __IMSK_SIMULATION |
98 // the code will ignore the first aIAPsToFail iaps in the preferences passed in. |
106 // the code will ignore the first aIAPsToFail iaps in the preferences passed in. |
99 // if this is more than the number of iaps then it will fail with KErrEtelModemNotDetected |
107 // if this is more than the number of iaps then it will fail with KErrEtelModemNotDetected |
100 void SetIAPsToFail(TInt aIAPsToFail); |
108 void SetIAPsToFail(TInt aIAPsToFail); |
101 #endif |
109 #endif |
145 #ifdef __IMSK_SIMULATION |
153 #ifdef __IMSK_SIMULATION |
146 // the code will ignore the first iIAPsToFail iaps in the preferences passed in. |
154 // the code will ignore the first iIAPsToFail iaps in the preferences passed in. |
147 // if this is more than the number of iaps then it will fail with KErrEtelModemNotDetected |
155 // if this is more than the number of iaps then it will fail with KErrEtelModemNotDetected |
148 TInt iIAPsToFail; |
156 TInt iIAPsToFail; |
149 #endif |
157 #endif |
|
158 |
|
159 //Indicates whether silent connection is chosen. |
|
160 TBool iIsSilentConn; |
150 }; |
161 }; |
|
162 |
|
163 // Silent Connection |
|
164 inline void CImConnect::SetSilentConnection(TBool aIsSilentConn) |
|
165 { |
|
166 iIsSilentConn = aIsSilentConn; |
|
167 } |
151 |
168 |
152 #endif |
169 #endif |
153 |
170 |