equal
deleted
inserted
replaced
138 // ---------------------------------------------------------------------------- |
138 // ---------------------------------------------------------------------------- |
139 void CIpsPlgPop3Plugin::RefreshNowL( |
139 void CIpsPlgPop3Plugin::RefreshNowL( |
140 const TFSMailMsgId& aMailBoxId, |
140 const TFSMailMsgId& aMailBoxId, |
141 MFSMailRequestObserver& aOperationObserver, |
141 MFSMailRequestObserver& aOperationObserver, |
142 TInt aRequestId, |
142 TInt aRequestId, |
143 const TBool /*aSilentConnection*/ ) |
143 const TBool aSilentConnection ) |
144 { |
144 { |
145 FUNC_LOG; |
145 FUNC_LOG; |
146 TMsvId service = aMailBoxId.Id(); |
146 TMsvId service = aMailBoxId.Id(); |
147 CIpsPlgSingleOpWatcher* watcher = CIpsPlgSingleOpWatcher::NewL(*this); |
147 CIpsPlgSingleOpWatcher* watcher = CIpsPlgSingleOpWatcher::NewL(*this); |
148 CleanupStack::PushL( watcher ); // << watcher |
148 CleanupStack::PushL( watcher ); // << watcher |
179 forcePopulate, |
179 forcePopulate, |
180 ActivityTimerL( aMailBoxId ), |
180 ActivityTimerL( aMailBoxId ), |
181 aMailBoxId, |
181 aMailBoxId, |
182 &aOperationObserver, |
182 &aOperationObserver, |
183 aRequestId, |
183 aRequestId, |
184 iEventHandler ); |
184 iEventHandler, |
185 |
185 // <qmail> silent connection parameter added |
186 watcher->SetOperation( op ); |
186 ETrue, |
|
187 EFalse, |
|
188 aSilentConnection ); |
|
189 // </qmail> |
|
190 |
|
191 watcher->SetOperation( op ); // watcher takes ownership, no PushL needed |
187 CleanupStack::PopAndDestroy( sel ); // >>> sel |
192 CleanupStack::PopAndDestroy( sel ); // >>> sel |
188 |
193 |
189 iOperations.AppendL( watcher ); |
194 iOperations.AppendL( watcher ); |
190 CleanupStack::Pop( watcher ); // >> watcher |
195 CleanupStack::Pop( watcher ); // >> watcher |
191 |
196 |
347 aMailBoxId, |
352 aMailBoxId, |
348 &aObserver, |
353 &aObserver, |
349 aRequestId, |
354 aRequestId, |
350 iEventHandler ); |
355 iEventHandler ); |
351 |
356 |
352 watcher->SetOperation( op ); |
357 watcher->SetOperation( op ); // watcher takes ownership, no PushL needed |
353 // <qmail> change PopAndDestroy to Pop |
358 // <qmail> change PopAndDestroy to Pop |
354 CleanupStack::Pop( sel ); |
359 CleanupStack::Pop( sel ); |
355 CleanupStack::Pop( watcher ); |
360 CleanupStack::Pop( watcher ); |
356 |
361 |
357 iOperations.AppendL( watcher ); |
362 iOperations.AppendL( watcher ); |