supl/locationomasuplprotocolhandler/protocolhandlerver2/inc/epos_comasuplconnrequestor.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 23 5944cae565c9
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
    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
       
    46 {
    44 {
    47 
    45 
    48 	enum TConnState
    46 	enum TConnState
    49 	    {
    47 	    {
    50 		  EConnecting,
    48 		  EConnecting,
   170         
   168         
   171         void SetDefaultParametersL(const TDesC& aClientProvidedHSLPAddress,TBool aFallBackAllowed);	
   169         void SetDefaultParametersL(const TDesC& aClientProvidedHSLPAddress,TBool aFallBackAllowed);	
   172         
   170         
   173         void GetUsedServerAddress(TDes& aHSLPAddressUsed);
   171         void GetUsedServerAddress(TDes& aHSLPAddressUsed);
   174         
   172         
   175         void SettingsUICompletedL(TInt aError);
       
   176         void SettingsUsageUICompletedL(TInt /*aError*/) {}
   173         void SettingsUsageUICompletedL(TInt /*aError*/) {}
   177         void SettingsTimeOutUICompletedL(TInt /*aError*/) {}
   174         void SettingsTimeOutUICompletedL(TInt /*aError*/) {}
   178         TBool ConvertIAPNameToIdL(const TDesC& aIAPName, TUint32& aIAPId);
   175         TBool ConvertIAPNameToIdL(const TDesC& aIAPName, TUint32& aIAPId);
   179         void UpdateNetInfo(const TTime& aLastTimeUsed,TInt& aMcc,TInt& aMnc,
   176         void UpdateNetInfo(const TTime& aLastTimeUsed,TInt& aMcc,TInt& aMnc,
   180 							              TInt& aCid,TInt& aLac,TInt& aType,TInt& aErrorCode);
   177 							              TInt& aCid,TInt& aLac,TInt& aType,TInt& aErrorCode);
   218 		 * Dialog Timeout Notifier Method.
   215 		 * Dialog Timeout Notifier Method.
   219 		 * @since Series 60 9.1 TB
   216 		 * @since Series 60 9.1 TB
   220 		 * @param None
   217 		 * @param None
   221 		 * @return None
   218 		 * @return None
   222 		 */
   219 		 */
   223 		virtual void DialogTimerExpiredL();	
   220 		//virtual void DialogTimerExpiredL();	
   224   	protected :  // Functions from CActive
   221   	protected :  // Functions from CActive
   225       /**
   222       /**
   226       * From CActive 
   223       * From CActive 
   227       * To handle request completion
   224       * To handle request completion
   228       */
   225       */
   291             
   288             
   292             TBool iIsSettingInitilized;
   289             TBool iIsSettingInitilized;
   293             
   290             
   294             TInt64 iCurrentSLPId;
   291             TInt64 iCurrentSLPId;
   295             
   292             
   296             COMASuplDialogTimer* iDialogTimer;
   293             TBool iTriggerSession;
   297             
       
   298             TBool iIapDialogShown;
       
   299             
       
   300             TBool iIapDlgTimerExpired;
       
   301             
       
   302             TBool iIsTimeoutDialogTimerStarted;
       
   303 			
       
   304 			TBool iTriggerSession;
       
   305 
   294 
   306 };
   295 };
   307 
   296 
   308 #endif //C_COMASUPLCONNREQUESTOR_H
   297 #endif //C_COMASUPLCONNREQUESTOR_H