supl/locationomasuplprotocolhandler/protocolhandlerver1/inc/epos_comasuplsession.h
branchRCL_3
changeset 19 02ba3f1733c6
parent 0 667063e416a2
child 20 2b4ea9893b66
equal deleted inserted replaced
18:d746aee05493 19:02ba3f1733c6
   253 			* @since S60 v3.1
   253 			* @since S60 v3.1
   254 			* @param aStatus, aSynchronous service request   
   254 			* @param aStatus, aSynchronous service request   
   255 			* @param aAllowedCapabilities, Capabilities of SET
   255 			* @param aAllowedCapabilities, Capabilities of SET
   256 			* @param aSessionIdSeed, seed value of session
   256 			* @param aSessionIdSeed, seed value of session
   257 			* @param aRequestID, Request Identification number.
   257 			* @param aRequestID, Request Identification number.
       
   258 			* @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
       
   260 			* @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
   258 			* @return None
   262 			* @return None
   259 			*/
   263 			*/
   260 			virtual void RunSuplSessionL(TRequestStatus& aStatus, TBool aFirstReq, const TDesC& aHslpAddress, TBool aFallBack, TInt aAllowedCapabilities, 
   264 			virtual void RunSuplSessionL(TRequestStatus& aStatus, TBool aFirstReq, const TDesC& aHslpAddress, TBool aFallBack, TInt aAllowedCapabilities, 
   261 										 TInt aSessionIdSeed, TInt aRequestID = 0);
   265 										 TInt aSessionIdSeed, TInt aRequestID = 0,TBool aIsStaleCellId = EFalse,COMASuplLocationId* aLocationId = NULL,TBool aPrompt = EFalse,TBool aWlanOnly = EFalse);
   262 										 
   266 										 
   263 			/**
   267 			/**
   264 			* RunSessionL, Starts the SUPL Sesssion for Terminal Initiated Location Request
   268 			* RunSessionL, Starts the SUPL Sesssion for Terminal Initiated Location Request
   265 			* @since S60 v3.1
   269 			* @since S60 v3.1
   266 			* @param       aStatus, 	  On completion, sets status of the request
   270 			* @param       aStatus, 	  On completion, sets status of the request
   937             void ReSetSuplUsageFlag();
   941             void ReSetSuplUsageFlag();
   938             TBool GetSuplUsageFlag();
   942             TBool GetSuplUsageFlag();
   939             void StartUsageDialogLaunchL();
   943             void StartUsageDialogLaunchL();
   940             TBool IsEtelNotifySet();
   944             TBool IsEtelNotifySet();
   941             TBool IsEtelRoamingSet();
   945             TBool IsEtelRoamingSet();
       
   946             TBool HasMeLaunchedUsageDialog();
   942 			TUint GetPortNumUsed();
   947 			TUint GetPortNumUsed();
   943 	 private:
   948 	 private:
   944 	 
   949 	 
   945 	 	void StoreCurrentCellIDL(HPositionGenericInfo& aSuplPosInfo);		
   950 	 	void StoreCurrentCellIDL(HPositionGenericInfo& aSuplPosInfo);		
   946 	 	TInt ServerAddressCheckForSuplInitL();
   951 	 	TInt ServerAddressCheckForSuplInitL();
  1133             TInt iSessionCompletionCode;
  1138             TInt iSessionCompletionCode;
  1134             TInt iNetworkType;
  1139             TInt iNetworkType;
  1135             
  1140             
  1136             COMASuplAsnHandlerBase* iOMASuplAsnHandlerBaseImpl; 
  1141             COMASuplAsnHandlerBase* iOMASuplAsnHandlerBaseImpl; 
  1137             
  1142             
       
  1143             // Network privacy handle.Ownership is with this object
  1138             CPosNetworkPrivacy* iNetworkPrivacy;
  1144             CPosNetworkPrivacy* iNetworkPrivacy;
       
  1145             //Stale cell id which for which position is to be retrieved.Ownership is with this object
       
  1146             COMASuplLocationId* iStaleLocationId;
       
  1147 			//indicates if this session is for a stale cell id conversion
       
  1148             TBool   iIsStaleLocIdPresent;
       
  1149 			//indicates if the user needs to be prompted when making a location request
       
  1150             TBool   iStaleLocIdPrompt;
       
  1151             TBool iIhaveLaunchedUsagedialog;
  1139 
  1152 
  1140             TUint iPortNum;
  1153             TUint iPortNum;
       
  1154             
       
  1155             //To indicate WLAN connection for OCC
       
  1156             TBool iWlanOnly; 
  1141     };
  1157     };
  1142 
  1158 
  1143 #endif      // C_COMASUPLSESSION_H
  1159 #endif      // C_COMASUPLSESSION_H
  1144             
  1160             
  1145 // End of File
  1161 // End of File