supl/locationomasuplprotocolhandler/protocolhandlerver1/inc/epos_comasuplconnrequestor.h
branchRCL_3
changeset 21 6b6920c56e2f
parent 20 2b4ea9893b66
equal deleted inserted replaced
20:2b4ea9893b66 21:6b6920c56e2f
    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
    45 {
    47 {
    46 
    48 
    47 	enum TConnState
    49 	enum TConnState
    48 	    {
    50 	    {
    49 		  EConnecting,
    51 		  EConnecting,
   181         
   183         
   182         void SetDefaultParametersL(const TDesC& aClientProvidedHSLPAddress,TBool aFallBackAllowed);	
   184         void SetDefaultParametersL(const TDesC& aClientProvidedHSLPAddress,TBool aFallBackAllowed);	
   183         
   185         
   184         void GetUsedServerAddress(TDes& aHSLPAddressUsed);
   186         void GetUsedServerAddress(TDes& aHSLPAddressUsed);
   185         
   187         
       
   188         void SettingsUICompletedL(TInt aError);
   186         void SettingsUsageUICompletedL(TInt /*aError*/) {}
   189         void SettingsUsageUICompletedL(TInt /*aError*/) {}
   187         void SettingsTimeOutUICompletedL(TInt /*aError*/) {}
   190         void SettingsTimeOutUICompletedL(TInt /*aError*/) {}
   188         TBool ConvertIAPNameToIdL(const TDesC& aIAPName, TUint32& aIAPId);
   191         TBool ConvertIAPNameToIdL(const TDesC& aIAPName, TUint32& aIAPId);
   189         void UpdateNetInfo(const TTime& aLastTimeUsed,TInt& aMcc,TInt& aMnc,
   192         void UpdateNetInfo(const TTime& aLastTimeUsed,TInt& aMcc,TInt& aMnc,
   190 							              TInt& aCid,TInt& aLac,TInt& aType,TInt& aErrorCode);
   193 							              TInt& aCid,TInt& aLac,TInt& aType,TInt& aErrorCode);
   222 		 * Dialog Timeout Notifier Method.
   225 		 * Dialog Timeout Notifier Method.
   223 		 * @since Series 60 9.1 TB
   226 		 * @since Series 60 9.1 TB
   224 		 * @param None
   227 		 * @param None
   225 		 * @return None
   228 		 * @return None
   226 		 */
   229 		 */
   227 		//virtual void DialogTimerExpiredL();	
   230 		virtual void DialogTimerExpiredL();	
   228   	protected :  // Functions from CActive
   231   	protected :  // Functions from CActive
   229       /**
   232       /**
   230       * From CActive 
   233       * From CActive 
   231       * To handle request completion
   234       * To handle request completion
   232       */
   235       */
   296             COMASuplFallBackHandler* iFallBackHandler;//Ownership is with the object
   299             COMASuplFallBackHandler* iFallBackHandler;//Ownership is with the object
   297             
   300             
   298             TBool iIsSettingInitilized;
   301             TBool iIsSettingInitilized;
   299             
   302             
   300             TInt64 iCurrentSLPId;
   303             TInt64 iCurrentSLPId;
       
   304             
       
   305             COMASuplDialogTimer* iDialogTimer;
       
   306             
       
   307             TBool iIapDialogShown;
       
   308             
       
   309             TBool iIapDlgTimerExpired;
       
   310             
       
   311             TBool iIsTimeoutDialogTimerStarted;
       
   312             
   301             TBool iPrompt;
   313             TBool iPrompt;
   302             
   314             
   303             TBool iWlanOnly;
   315             TBool iWlanOnly;
   304             
   316             
   305             TBool iIsStaleLocIdPresent;
   317             TBool iIsStaleLocIdPresent;