supl/locationomasuplprotocolhandler/protocolhandlerver2/inc/epos_comasuplconnrequestor.h
branchRCL_3
changeset 55 ea98413ce11f
parent 49 10852b179f64
equal deleted inserted replaced
49:10852b179f64 55:ea98413ce11f
    38  *
    38  *
    39  *  @lib eposomasuplprotocolhandler.lib
    39  *  @lib eposomasuplprotocolhandler.lib
    40  *  @since S60 v3.1
    40  *  @since S60 v3.1
    41  */
    41  */
    42  
    42  
    43 class COMASuplConnRequestor : public CActive
    43 class COMASuplConnRequestor : public CActive, 
       
    44                               public MOMASuplUICompletionObserver,  
       
    45                               public MOMASuplDialogTimeOutNotifier
    44 {
    46 {
    45 
    47 
    46 	enum TConnState
    48 	enum TConnState
    47 	    {
    49 	    {
    48 		  EConnecting,
    50 		  EConnecting,
   168         
   170         
   169         void SetDefaultParametersL(const TDesC& aClientProvidedHSLPAddress,TBool aFallBackAllowed);	
   171         void SetDefaultParametersL(const TDesC& aClientProvidedHSLPAddress,TBool aFallBackAllowed);	
   170         
   172         
   171         void GetUsedServerAddress(TDes& aHSLPAddressUsed);
   173         void GetUsedServerAddress(TDes& aHSLPAddressUsed);
   172         
   174         
       
   175         void SettingsUICompletedL(TInt aError);
       
   176         void SettingsUsageUICompletedL(TInt /*aError*/) {}
       
   177         void SettingsTimeOutUICompletedL(TInt /*aError*/) {}
   173         TBool ConvertIAPNameToIdL(const TDesC& aIAPName, TUint32& aIAPId);
   178         TBool ConvertIAPNameToIdL(const TDesC& aIAPName, TUint32& aIAPId);
   174         void UpdateNetInfo(const TTime& aLastTimeUsed,TInt& aMcc,TInt& aMnc,
   179         void UpdateNetInfo(const TTime& aLastTimeUsed,TInt& aMcc,TInt& aMnc,
   175 							              TInt& aCid,TInt& aLac,TInt& aType,TInt& aErrorCode);
   180 							              TInt& aCid,TInt& aLac,TInt& aType,TInt& aErrorCode);
   176 				
   181 				
   177 				void UseDefaultServerL();	            
   182 				void UseDefaultServerL();	            
   207 		*/ 
   212 		*/ 
   208 		void InitilizeSetting();
   213 		void InitilizeSetting();
   209 		
   214 		
   210 		void SaveAccessPoint(const TDesC& aIapName);
   215 		void SaveAccessPoint(const TDesC& aIapName);
   211 
   216 
   212 		
   217 		/**
       
   218 		 * Dialog Timeout Notifier Method.
       
   219 		 * @since Series 60 9.1 TB
       
   220 		 * @param None
       
   221 		 * @return None
       
   222 		 */
       
   223 		virtual void DialogTimerExpiredL();	
   213   	protected :  // Functions from CActive
   224   	protected :  // Functions from CActive
   214       /**
   225       /**
   215       * From CActive 
   226       * From CActive 
   216       * To handle request completion
   227       * To handle request completion
   217       */
   228       */
   280             
   291             
   281             TBool iIsSettingInitilized;
   292             TBool iIsSettingInitilized;
   282             
   293             
   283             TInt64 iCurrentSLPId;
   294             TInt64 iCurrentSLPId;
   284             
   295             
   285             TBool iTriggerSession;
   296             COMASuplDialogTimer* iDialogTimer;
       
   297             
       
   298             TBool iIapDialogShown;
       
   299             
       
   300             TBool iIapDlgTimerExpired;
       
   301             
       
   302             TBool iIsTimeoutDialogTimerStarted;
       
   303 			
       
   304 			TBool iTriggerSession;
   286 
   305 
   287 };
   306 };
   288 
   307 
   289 #endif //C_COMASUPLCONNREQUESTOR_H
   308 #endif //C_COMASUPLCONNREQUESTOR_H