supl/locationomasuplprotocolhandler/protocolhandlerver1/inc/epos_comasuplsession.h
branchRCL_3
changeset 19 02ba3f1733c6
parent 0 667063e416a2
child 20 2b4ea9893b66
--- a/supl/locationomasuplprotocolhandler/protocolhandlerver1/inc/epos_comasuplsession.h	Thu Jul 15 19:06:58 2010 +0300
+++ b/supl/locationomasuplprotocolhandler/protocolhandlerver1/inc/epos_comasuplsession.h	Thu Aug 19 10:20:18 2010 +0300
@@ -255,10 +255,14 @@
 			* @param aAllowedCapabilities, Capabilities of SET
 			* @param aSessionIdSeed, seed value of session
 			* @param aRequestID, Request Identification number.
+			* @param aIsStaleCellId, indicates if this session is for a stale cell id conversion
+			* @param aLocationId , contains cell id parameters for which position is to be retrieved
+			* @param aPrompt indicates if the user is to be prompted when making location requests
+			* @param aWlanOnly ,request to connect server using wlan connection only using OCC Api's
 			* @return None
 			*/
 			virtual void RunSuplSessionL(TRequestStatus& aStatus, TBool aFirstReq, const TDesC& aHslpAddress, TBool aFallBack, TInt aAllowedCapabilities, 
-										 TInt aSessionIdSeed, TInt aRequestID = 0);
+										 TInt aSessionIdSeed, TInt aRequestID = 0,TBool aIsStaleCellId = EFalse,COMASuplLocationId* aLocationId = NULL,TBool aPrompt = EFalse,TBool aWlanOnly = EFalse);
 										 
 			/**
 			* RunSessionL, Starts the SUPL Sesssion for Terminal Initiated Location Request
@@ -939,6 +943,7 @@
             void StartUsageDialogLaunchL();
             TBool IsEtelNotifySet();
             TBool IsEtelRoamingSet();
+            TBool HasMeLaunchedUsageDialog();
 			TUint GetPortNumUsed();
 	 private:
 	 
@@ -1135,9 +1140,20 @@
             
             COMASuplAsnHandlerBase* iOMASuplAsnHandlerBaseImpl; 
             
+            // Network privacy handle.Ownership is with this object
             CPosNetworkPrivacy* iNetworkPrivacy;
+            //Stale cell id which for which position is to be retrieved.Ownership is with this object
+            COMASuplLocationId* iStaleLocationId;
+			//indicates if this session is for a stale cell id conversion
+            TBool   iIsStaleLocIdPresent;
+			//indicates if the user needs to be prompted when making a location request
+            TBool   iStaleLocIdPrompt;
+            TBool iIhaveLaunchedUsagedialog;
 
             TUint iPortNum;
+            
+            //To indicate WLAN connection for OCC
+            TBool iWlanOnly; 
     };
 
 #endif      // C_COMASUPLSESSION_H