79 class COMASUPLProtocolManager1 : public COMASUPLProtocolManager, |
79 class COMASUPLProtocolManager1 : public COMASUPLProtocolManager, |
80 public MOMASuplSessionObserver, |
80 public MOMASuplSessionObserver, |
81 public MSuplEcomEventObserver, |
81 public MSuplEcomEventObserver, |
82 public MSuplSettingsObserver, |
82 public MSuplSettingsObserver, |
83 public MOMASuplTimeOutNotifier, |
83 public MOMASuplTimeOutNotifier, |
|
84 public MOMASuplUISettingsObserver, |
84 public MOMASuplETelNotifierObserver |
85 public MOMASuplETelNotifierObserver |
85 { |
86 { |
86 |
87 |
87 public: |
88 public: |
88 |
89 |
269 */ |
270 */ |
270 virtual void TerminateSession(CSuplSessionBase *aSession, TInt aErrorCode); |
271 virtual void TerminateSession(CSuplSessionBase *aSession, TInt aErrorCode); |
271 |
272 |
272 public: |
273 public: |
273 |
274 |
274 |
275 // For setting UI observer |
|
276 TInt LaunchSettingsUI(MOMASuplUICompletionObserver* aObserver,const TDesC& aForHslp); |
|
277 TInt LaunchSuplUsageSettingsUI(MOMASuplUICompletionObserver* aObserver, TBool aRoaming); |
|
278 TInt LaunchSuplDialogTimeoutUI(MOMASuplUICompletionObserver* aObserver ); |
275 void UpdateAllSubSessnsInSameSession(TInt aIpcSessionId); |
279 void UpdateAllSubSessnsInSameSession(TInt aIpcSessionId); |
|
280 |
|
281 void CancelUiLaunch(); |
276 |
282 |
277 void SettingsChanged(); |
283 void SettingsChanged(); |
278 |
284 |
279 |
285 TInt GetLastUsedAccessPoint(TDes& aLastlyUsedAccessPoint,TUint32& iIAPId); |
|
286 /** |
|
287 * This callback method is used to notify the client about |
|
288 * the completion of UI launch |
|
289 * @param aError - Error during Launch |
|
290 * @return None |
|
291 */ |
|
292 void SettingsUICompletedL(TInt aError); |
|
293 |
|
294 /** |
|
295 * This callback method is used to notify the client about |
|
296 * the completion of UI launch |
|
297 * @param aError - Error during Launch |
|
298 * @return None |
|
299 */ |
|
300 void SettingsUsageUICompletedL(TInt aError); |
|
301 |
|
302 /** |
|
303 * This callback method is used to notify the client about |
|
304 * the completion of UI completion |
|
305 * @param aError - Error during Launch |
|
306 * @return None |
|
307 */ |
|
308 void SettingsTimeOutUICompletedL(TInt aError); |
280 |
309 |
281 public: //From base class MSuplSettingsObserver |
310 public: //From base class MSuplSettingsObserver |
282 |
311 |
283 /** |
312 /** |
284 * HandleSuplSettingsChangeL,Observeed function, gets called. |
313 * HandleSuplSettingsChangeL,Observeed function, gets called. |
475 void HandleRoamingCheckCompleteL(TInt aErrorCode, TBool aHomeNw); |
510 void HandleRoamingCheckCompleteL(TInt aErrorCode, TBool aHomeNw); |
476 |
511 |
477 public: // COMASUPLProtocolManager |
512 public: // COMASUPLProtocolManager |
478 void SetCommonConfig(COMASuplCommonConfig*& aCommmonConfig); |
513 void SetCommonConfig(COMASuplCommonConfig*& aCommmonConfig); |
479 |
514 |
480 public: |
|
481 /* |
|
482 * Method used to make conversion request for retrieving position of a location id. |
|
483 * |
|
484 * @since S60 v5.2 |
|
485 * @param aSuplSessn session object on which processing will start,ownership is not transferred |
|
486 * @param aCellInfo contains cell id information and cell id type |
|
487 * @param aStatus On return, the status of the request |
|
488 * |
|
489 */ |
|
490 void MakeLocationConversionRequestL( CSuplSessionBase* aSuplSessn, |
|
491 TGeoCellInfo& aCellInfo, |
|
492 TRequestStatus& aStatus ); |
|
493 /* |
|
494 * Method used to make cancel a conversion request for retrieving position of a location id,,ownership is not transferred. |
|
495 * |
|
496 * @since S60 v5.2 |
|
497 * @param aSuplSessn session object which is to be cancelled |
|
498 * |
|
499 */ |
|
500 void CancelLocationConversionRequest(CSuplSessionBase* aSuplSession); |
|
501 |
|
502 private: // Data Members |
515 private: // Data Members |
503 |
516 |
504 //Holds all session objects created by CreateNewSession |
517 //Holds all session objects created by CreateNewSession |
505 RPointerArray<CSuplSessionBase> iSuplSessions; |
518 RPointerArray<CSuplSessionBase> iSuplSessions; |
506 |
519 |