79 |
79 |
80 class COMASUPLProtocolManager2 : public COMASUPLProtocolManager, |
80 class COMASUPLProtocolManager2 : public COMASUPLProtocolManager, |
81 public MOMASuplSessionObserver, |
81 public MOMASuplSessionObserver, |
82 public MSuplSettingsObserver, |
82 public MSuplSettingsObserver, |
83 public MOMASuplTimeOutNotifier, |
83 public MOMASuplTimeOutNotifier, |
84 public MOMASuplUISettingsObserver, |
|
85 public MOMASuplETelNotifierObserver, |
84 public MOMASuplETelNotifierObserver, |
86 public MSuplSessionObserver |
85 public MSuplSessionObserver |
87 { |
86 { |
88 |
87 |
89 public: |
88 public: |
274 * @param aErrorCode,error code by which session completes |
273 * @param aErrorCode,error code by which session completes |
275 * @return None |
274 * @return None |
276 */ |
275 */ |
277 virtual void TerminateSession(CSuplSessionBase *aSession, TInt aErrorCode); |
276 virtual void TerminateSession(CSuplSessionBase *aSession, TInt aErrorCode); |
278 |
277 |
279 public: // For setting UI observer |
278 public: |
280 TInt LaunchSettingsUI(MOMASuplUICompletionObserver* aObserver,const TDesC& aForHslp); |
279 |
281 TInt LaunchSuplUsageSettingsUI(MOMASuplUICompletionObserver* aObserver, TBool aRoaming); |
|
282 TInt LaunchSuplDialogTimeoutUI(MOMASuplUICompletionObserver* aObserver ); |
|
283 void UpdateAllSubSessnsInSameSession(TInt aIpcSessionId); |
280 void UpdateAllSubSessnsInSameSession(TInt aIpcSessionId); |
284 |
281 |
285 void SettingsChanged(); |
282 void SettingsChanged(); |
286 |
283 |
287 TInt GetLastUsedAccessPoint(TDes& aLastlyUsedAccessPoint,TUint32& iIAPId); |
284 |
288 /** |
285 |
289 * This callback method is used to notify the client about |
|
290 * the completion of UI launch |
|
291 * @param aError - Error during Launch |
|
292 * @return None |
|
293 */ |
|
294 void SettingsUICompletedL(TInt aError); |
|
295 |
|
296 /** |
|
297 * This callback method is used to notify the client about |
|
298 * the completion of UI launch |
|
299 * @param aError - Error during Launch |
|
300 * @return None |
|
301 */ |
|
302 void SettingsUsageUICompletedL(TInt aError); |
|
303 |
|
304 /** |
|
305 * This callback method is used to notify the client about |
|
306 * the completion of UI completion |
|
307 * @param aError - Error during Launch |
|
308 * @return None |
|
309 */ |
|
310 void SettingsTimeOutUICompletedL(TInt aError); |
|
311 |
|
312 public: //From base class MSuplSettingsObserver |
286 public: //From base class MSuplSettingsObserver |
313 |
287 |
314 /** |
288 /** |
315 * HandleSuplSettingsChangeL,Observeed function, gets called. |
289 * HandleSuplSettingsChangeL,Observeed function, gets called. |
316 * @since S60 v3.1 |
290 * @since S60 v3.1 |
501 void LogReceivedSessionIdL(COMASuplSessionID* aRetrivedSessionID); |
469 void LogReceivedSessionIdL(COMASuplSessionID* aRetrivedSessionID); |
502 void PrintHex(const TDesC8& aBuffer,TInt aLine); |
470 void PrintHex(const TDesC8& aBuffer,TInt aLine); |
503 |
471 |
504 |
472 |
505 TInt GetNetworkModeL(); |
473 TInt GetNetworkModeL(); |
506 void CheckOutstandingUsageUIRequestsL(); |
474 |
507 |
475 |
508 /** |
476 /** |
509 * LoadOMASUPLPluginsL, Loads supl protocolhandler plugins |
477 * LoadOMASUPLPluginsL, Loads supl protocolhandler plugins |
510 * @since S60 v9.2TB |
478 * @since S60 v9.2TB |
511 * @param None |
479 * @param None |