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