supl/locationsuplfw/gateway/src/epos_csuplipcsubsession.cpp
branchRCL_3
changeset 55 ea98413ce11f
parent 45 6b6920c56e2f
--- a/supl/locationsuplfw/gateway/src/epos_csuplipcsubsession.cpp	Wed Sep 15 12:40:28 2010 +0300
+++ b/supl/locationsuplfw/gateway/src/epos_csuplipcsubsession.cpp	Wed Oct 13 15:01:35 2010 +0300
@@ -34,8 +34,6 @@
 #include "epos_csuplsettings.h"
 #include "epos_csuplsettingsinternal.h"
 #include "epos_csuplsettingparams.h"
-#include "epos_suplgeocellinfo.h"
-
 
 // CONSTANTS
 //#ifdef _DEBUG
@@ -228,19 +226,6 @@
         	HandleNotifyTriggerFiredL(aMessage);
         	break;
         	}
-        case ESuplTerminalSubssnLocationConversion:
-                    {
-                    iMessage=aMessage;
-                    iReqType = ESuplTerminalSubssnLocationConversion;
-                    HandleLocationConversionL(aMessage);
-                    break;
-                    }
-                            
-                case ESuplTerminalSubssnCancelLocationConversion:
-                    {
-                    HandleCancelLocationConversionL(aMessage);
-                    break;
-                    }  
 		default:
 			User::Leave(KErrNotSupported);
         }
@@ -743,53 +728,5 @@
 						
 	CleanupStack::Pop(fireInfoBuf);	    		
 	}
-
-// ---------------------------------------------------------
-// CSuplIPCSubSession::HandleLocationConversionL
-//
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//  
-void CSuplIPCSubSession::HandleLocationConversionL(const RMessage2& aMessage)
-    {
-    DEBUG_TRACE("CSuplIPCSubSession::HandleLocationConversionL", __LINE__)
-
-    if (iSuplSessnReq->IsActive())
-        {
-        SuplGlobal::RequestComplete(aMessage, KErrAlreadyExists);
-        }
-
-    if(iReqType==ESuplTerminalSubssnLocationConversion)
-        {
-        HBufC8* cellBuf = SuplGlobal::CopyClientBuffer8LC(aMessage,0);
-                
-        TGeoCellInfo& cellInfo = reinterpret_cast
-        <TGeoCellInfo&>(const_cast<TUint8&>(*cellBuf->Ptr()));
-                            
-        iSuplSessnReq->MakeLocationConversionRequestL( iSuplSession,cellInfo );
-        
-        CleanupStack::PopAndDestroy(cellBuf);        
-        }
-         
-    }
-
-// ---------------------------------------------------------
-// CSuplIPCSubSession::HandleCancelLocationConversionL
-//
-// (other items were commented in a header).
-// ---------------------------------------------------------
-//  
-void CSuplIPCSubSession::HandleCancelLocationConversionL(const RMessage2& aMessage)
-    {
-    DEBUG_TRACE("CSuplIPCSubSession::HandleCancelLocationConversionL", __LINE__)
-
-    if (!iSuplSessnReq->IsActive()||(iReqType!=ESuplTerminalSubssnLocationConversion))
-        {
-        User::Leave(KErrNotFound);
-        }
-    iSuplSessnReq->CancelLocationConversionRequest();
-    SuplGlobal::RequestComplete(aMessage, KErrNone);
-    CompleteRunSession(KErrCancel);            
-    }
 	
 // End of File