271 virtual void TerminateSession(CSuplSessionBase *aSession, TInt aErrorCode); |
271 virtual void TerminateSession(CSuplSessionBase *aSession, TInt aErrorCode); |
272 |
272 |
273 public: |
273 public: |
274 |
274 |
275 // For setting UI observer |
275 // For setting UI observer |
276 TInt LaunchSettingsUI(MOMASuplUICompletionObserver* aObserver,const TDesC& aForHslp); |
276 //TInt LaunchSettingsUI(MOMASuplUICompletionObserver* aObserver,const TDesC& aForHslp); |
277 TInt LaunchSuplUsageSettingsUI(MOMASuplUICompletionObserver* aObserver, TBool aRoaming); |
277 //TInt LaunchSuplUsageSettingsUI(MOMASuplUICompletionObserver* aObserver, TBool aRoaming); |
278 TInt LaunchSuplDialogTimeoutUI(MOMASuplUICompletionObserver* aObserver ); |
278 //TInt LaunchSuplDialogTimeoutUI(MOMASuplUICompletionObserver* aObserver ); |
279 void UpdateAllSubSessnsInSameSession(TInt aIpcSessionId); |
279 void UpdateAllSubSessnsInSameSession(TInt aIpcSessionId); |
280 |
|
281 void CancelUiLaunch(); |
|
282 |
280 |
283 void SettingsChanged(); |
281 void SettingsChanged(); |
284 |
282 |
285 TInt GetLastUsedAccessPoint(TDes& aLastlyUsedAccessPoint,TUint32& iIAPId); |
283 TInt GetLastUsedAccessPoint(TDes& aLastlyUsedAccessPoint,TUint32& iIAPId); |
286 /** |
284 /** |
287 * This callback method is used to notify the client about |
285 * This callback method is used to notify the client about |
288 * the completion of UI launch |
286 * the completion of UI launch |
289 * @param aError - Error during Launch |
287 * @param aError - Error during Launch |
290 * @return None |
288 * @return None |
291 */ |
289 */ |
292 void SettingsUICompletedL(TInt aError); |
290 void SettingsUICompletedL(TInt /*aError*/) {}; |
293 |
291 |
294 /** |
292 /** |
295 * This callback method is used to notify the client about |
293 * This callback method is used to notify the client about |
296 * the completion of UI launch |
294 * the completion of UI launch |
297 * @param aError - Error during Launch |
295 * @param aError - Error during Launch |
298 * @return None |
296 * @return None |
299 */ |
297 */ |
300 void SettingsUsageUICompletedL(TInt aError); |
298 void SettingsUsageUICompletedL(TInt /*aError*/) {}; |
301 |
299 |
302 /** |
300 /** |
303 * This callback method is used to notify the client about |
301 * This callback method is used to notify the client about |
304 * the completion of UI completion |
302 * the completion of UI completion |
305 * @param aError - Error during Launch |
303 * @param aError - Error during Launch |
306 * @return None |
304 * @return None |
307 */ |
305 */ |
308 void SettingsTimeOutUICompletedL(TInt aError); |
306 void SettingsTimeOutUICompletedL(TInt /*aError*/) {}; |
309 |
307 |
310 public: //From base class MSuplSettingsObserver |
308 public: //From base class MSuplSettingsObserver |
311 |
309 |
312 /** |
310 /** |
313 * HandleSuplSettingsChangeL,Observeed function, gets called. |
311 * HandleSuplSettingsChangeL,Observeed function, gets called. |
531 * @since S60 v5.2 |
529 * @since S60 v5.2 |
532 * @param aSuplSessn session object which is to be cancelled |
530 * @param aSuplSessn session object which is to be cancelled |
533 * |
531 * |
534 */ |
532 */ |
535 void CancelLocationConversionRequest(CSuplSessionBase* aSuplSession); |
533 void CancelLocationConversionRequest(CSuplSessionBase* aSuplSession); |
536 |
534 |
|
535 public : // from MSuplSettingsObserver |
|
536 virtual void HandleSuplTriggerStatusChangeL( |
|
537 CSuplSettings::TSuplTriggerStatus aSuplTriggerStatus ); |
|
538 |
537 private: // Data Members |
539 private: // Data Members |
538 |
540 |
539 //Holds all session objects created by CreateNewSession |
541 //Holds all session objects created by CreateNewSession |
540 RPointerArray<CSuplSessionBase> iSuplSessions; |
542 RPointerArray<CSuplSessionBase> iSuplSessions; |
541 |
543 |