supl/locationomasuplprotocolhandler/protocolhandlerver1/inc/epos_comasuplsession.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
    49 #include "epos_tomasuplposmethod.h"
    49 #include "epos_tomasuplposmethod.h"
    50 #include "epos_momasupldialogtimeoutnotifier.h"
    50 #include "epos_momasupldialogtimeoutnotifier.h"
    51 #include "epos_csuplsettingsinternal.h"
    51 #include "epos_csuplsettingsinternal.h"
    52 
    52 
    53 #include "EPos_CPosNetworkPrivacy.h"
    53 #include "EPos_CPosNetworkPrivacy.h"
       
    54 
       
    55 #include <flogger.h>
    54 
    56 
    55 
    57 
    56 class RMobilePhone;
    58 class RMobilePhone;
    57 class TOMASuplVersion;
    59 class TOMASuplVersion;
    58 class COMASuplSessionID;
    60 class COMASuplSessionID;
   213             * This callback method is used to notify the client about 
   215             * This callback method is used to notify the client about 
   214             * the completion of UI launch
   216             * the completion of UI launch
   215             * @param aError - Error during Launch
   217             * @param aError - Error during Launch
   216             * @return None
   218             * @return None
   217             */
   219             */
   218         	void SettingsUICompletedL(TInt aError);
   220         	void SettingsUICompletedL(TInt aError) ;
   219 		
   221 		
   220             /** 
   222             /** 
   221             * This callback method is used to notify the client about 
   223             * This callback method is used to notify the client about 
   222             * the completion of UI
   224             * the completion of UI
   223             * @return None
   225             * @return None
   224             */
   226             */
   225 			void SettingsUsageUICompletedL(TInt aError);
   227 					void SettingsUsageUICompletedL(TInt /*aError*/) {};
   226 			
   228 			
   227             /** 
   229             /** 
   228             * This callback method is used to notify the client about 
   230             * This callback method is used to notify the client about 
   229             * the completion of UI 
   231             * the completion of UI 
   230             * @return None
   232             * @return None
   231             */
   233             */
   232 			void SettingsTimeOutUICompletedL(TInt aError);
   234 					void SettingsTimeOutUICompletedL(TInt aError) ;
   233 			
   235 			
   234 	public: 			 
   236 	public: 			 
   235 			/**
   237 			/**
   236 			* InitializeL Method.
   238 			* InitializeL Method.
   237 			* @since S60 v3.1u
   239 			* @since S60 v3.1u
   254 			* @param aStatus, aSynchronous service request   
   256 			* @param aStatus, aSynchronous service request   
   255 			* @param aAllowedCapabilities, Capabilities of SET
   257 			* @param aAllowedCapabilities, Capabilities of SET
   256 			* @param aSessionIdSeed, seed value of session
   258 			* @param aSessionIdSeed, seed value of session
   257 			* @param aRequestID, Request Identification number.
   259 			* @param aRequestID, Request Identification number.
   258 			* @param aIsStaleCellId, indicates if this session is for a stale cell id conversion
   260 			* @param aIsStaleCellId, indicates if this session is for a stale cell id conversion
   259 			* @param aLocationId , contains cell id parameters for which position is to be retrieved
   261 			* @param aLocationId , contains cell id parameters for which position is to be retrieved,ownership is transferred to this object
   260 			* @param aPrompt indicates if the user is to be prompted when making location requests
   262 			* @param aPrompt indicates if the user is to be prompted when making location requests
   261 			* @param aWlanOnly ,request to connect server using wlan connection only using OCC Api's
   263 			* @param aWlanOnly ,request to connect server using wlan connection only using OCC Api's
   262 			* @return None
   264 			* @return None
   263 			*/
   265 			*/
   264 			virtual void RunSuplSessionL(TRequestStatus& aStatus, TBool aFirstReq, const TDesC& aHslpAddress, TBool aFallBack, TInt aAllowedCapabilities, 
   266 			virtual void RunSuplSessionL(TRequestStatus& aStatus, TBool aFirstReq, const TDesC& aHslpAddress, TBool aFallBack, TInt aAllowedCapabilities, 
   941             void ReSetSuplUsageFlag();
   943             void ReSetSuplUsageFlag();
   942             TBool GetSuplUsageFlag();
   944             TBool GetSuplUsageFlag();
   943             void StartUsageDialogLaunchL();
   945             void StartUsageDialogLaunchL();
   944             TBool IsEtelNotifySet();
   946             TBool IsEtelNotifySet();
   945             TBool IsEtelRoamingSet();
   947             TBool IsEtelRoamingSet();
   946             TBool HasMeLaunchedUsageDialog();
       
   947 			TUint GetPortNumUsed();
   948 			TUint GetPortNumUsed();
   948 	 private:
   949 	 private:
   949 	 
   950 	 
   950 	 	void StoreCurrentCellIDL(HPositionGenericInfo& aSuplPosInfo);		
   951 	 	void StoreCurrentCellIDL(HPositionGenericInfo& aSuplPosInfo);		
   951 	 	TInt ServerAddressCheckForSuplInitL();
   952 	 	TInt ServerAddressCheckForSuplInitL();
  1070 			//Received QoP from Client Lib
  1071 			//Received QoP from Client Lib
  1071 			TSuplTerminalQop iClientQop;
  1072 			TSuplTerminalQop iClientQop;
  1072 			
  1073 			
  1073 						
  1074 						
  1074 			TTime iSessionStartTime;
  1075 			TTime iSessionStartTime;
       
  1076 			TTime iSessionStartTime1;
  1075 			
  1077 			
  1076 			TTime iSessionEndTime;
  1078 			TTime iSessionEndTime;
       
  1079 			
       
  1080 			RFileLogger iLogger;
       
  1081 			
  1077 			//Is POS message is First one or Not.
  1082 			//Is POS message is First one or Not.
  1078 			TBool iIsFirstPOSMessage;
  1083 			TBool iIsFirstPOSMessage;
  1079 
  1084 
  1080             // UI Flag
  1085             // UI Flag
  1081             TBool iUIFlag;
  1086             TBool iUIFlag;