supl/locationomasuplprotocolhandler/protocolhandlerver1/inc/epos_comasuplprotocolmanager1.h
branchRCL_3
changeset 55 ea98413ce11f
parent 49 10852b179f64
equal deleted inserted replaced
49:10852b179f64 55:ea98413ce11f
    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.
   427      * @return     None.
   456      * @return     None.
   428      */
   457      */
   429 	void ProcessInvalidSessionL(COMASuplAsnMessageBase* aDecodedMsg);
   458 	void ProcessInvalidSessionL(COMASuplAsnMessageBase* aDecodedMsg);
   430 
   459 
   431     
   460     
   432     
   461     /**
       
   462      * ReadSuplUsage, Reads OMA Supl Usage.
       
   463      * @since S60 v3.1u          
       
   464      * @param      None. 
       
   465      * @return     None.
       
   466      */
       
   467     void ReadSuplUsage();
   433 	
   468 	
   434     
   469     
   435     /**
   470     /**
   436      * ResetBufferingParameters, 
   471      * ResetBufferingParameters, 
   437      * @since S60 v3.1          
   472      * @since S60 v3.1          
   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