supl/locationomasuplprotocolhandler/protocolhandlerver1/inc/epos_comasuplconnrequestor.h
branchRCL_3
changeset 49 10852b179f64
parent 45 6b6920c56e2f
child 55 ea98413ce11f
equal deleted inserted replaced
47:fce0ae2e4223 49:10852b179f64
    39  *
    39  *
    40  *  @lib eposomasuplprotocolhandler.lib
    40  *  @lib eposomasuplprotocolhandler.lib
    41  *  @since S60 v3.1
    41  *  @since S60 v3.1
    42  */
    42  */
    43  
    43  
    44 class COMASuplConnRequestor : public CActive, 
    44 class COMASuplConnRequestor : public CActive
    45                               public MOMASuplUICompletionObserver,  
       
    46                               public MOMASuplDialogTimeOutNotifier
       
    47 {
    45 {
    48 
    46 
    49 	enum TConnState
    47 	enum TConnState
    50 	    {
    48 	    {
    51 		  EConnecting,
    49 		  EConnecting,
   183         
   181         
   184         void SetDefaultParametersL(const TDesC& aClientProvidedHSLPAddress,TBool aFallBackAllowed);	
   182         void SetDefaultParametersL(const TDesC& aClientProvidedHSLPAddress,TBool aFallBackAllowed);	
   185         
   183         
   186         void GetUsedServerAddress(TDes& aHSLPAddressUsed);
   184         void GetUsedServerAddress(TDes& aHSLPAddressUsed);
   187         
   185         
   188         void SettingsUICompletedL(TInt aError);
   186        
   189         void SettingsUsageUICompletedL(TInt /*aError*/) {}
       
   190         void SettingsTimeOutUICompletedL(TInt /*aError*/) {}
       
   191         TBool ConvertIAPNameToIdL(const TDesC& aIAPName, TUint32& aIAPId);
   187         TBool ConvertIAPNameToIdL(const TDesC& aIAPName, TUint32& aIAPId);
   192         void UpdateNetInfo(const TTime& aLastTimeUsed,TInt& aMcc,TInt& aMnc,
   188         void UpdateNetInfo(const TTime& aLastTimeUsed,TInt& aMcc,TInt& aMnc,
   193 							              TInt& aCid,TInt& aLac,TInt& aType,TInt& aErrorCode);
   189 							              TInt& aCid,TInt& aLac,TInt& aType,TInt& aErrorCode);
   194 				
   190 				
   195 				void UseDefaultServerL();	            
   191 				void UseDefaultServerL();	            
   219 		*/ 
   215 		*/ 
   220 		void InitilizeSetting();
   216 		void InitilizeSetting();
   221 		
   217 		
   222 		void SaveAccessPoint(const TDesC& aIapName);
   218 		void SaveAccessPoint(const TDesC& aIapName);
   223 
   219 
   224 		/**
   220 		
   225 		 * Dialog Timeout Notifier Method.
       
   226 		 * @since Series 60 9.1 TB
       
   227 		 * @param None
       
   228 		 * @return None
       
   229 		 */
       
   230 		virtual void DialogTimerExpiredL();	
       
   231   	protected :  // Functions from CActive
   221   	protected :  // Functions from CActive
   232       /**
   222       /**
   233       * From CActive 
   223       * From CActive 
   234       * To handle request completion
   224       * To handle request completion
   235       */
   225       */
   299             COMASuplFallBackHandler* iFallBackHandler;//Ownership is with the object
   289             COMASuplFallBackHandler* iFallBackHandler;//Ownership is with the object
   300             
   290             
   301             TBool iIsSettingInitilized;
   291             TBool iIsSettingInitilized;
   302             
   292             
   303             TInt64 iCurrentSLPId;
   293             TInt64 iCurrentSLPId;
   304             
       
   305             COMASuplDialogTimer* iDialogTimer;
       
   306             
       
   307             TBool iIapDialogShown;
       
   308             
       
   309             TBool iIapDlgTimerExpired;
       
   310             
       
   311             TBool iIsTimeoutDialogTimerStarted;
       
   312             
       
   313             TBool iPrompt;
   294             TBool iPrompt;
   314             
   295             
   315             TBool iWlanOnly;
   296             TBool iWlanOnly;
   316             
   297             
   317             TBool iIsStaleLocIdPresent;
   298             TBool iIsStaleLocIdPresent;