--- a/simpleengine/engine/src/simpleconnection.cpp Tue Feb 02 01:05:17 2010 +0200
+++ b/simpleengine/engine/src/simpleconnection.cpp Fri Mar 19 09:37:41 2010 +0200
@@ -65,7 +65,7 @@
// CSimpleConnection::ConstructL
// ----------------------------------------------------------
//
-void CSimpleConnection::ConstructL( TInt32 aServiceId )
+void CSimpleConnection::ConstructL()
{
// Create CSimpleSipConnection entity in simplesiputils.dll
iConnection = CSimpleSipConnection::NewL();
@@ -79,10 +79,6 @@
CSimpleEngineRequest* req = CSimpleEngineRequest::NewL(
*this, MSimpleEngineRequest::EListenEvents, iOpId );
CleanupStack::PushL( req );
- if ( aServiceId )
- {
- iConnection->SetServiceId( aServiceId );
- }
iConnection->DispatchReqL( *req );
iRequestList.AddLast( *req );
CleanupStack::Pop( req );
@@ -100,24 +96,7 @@
#endif
CSimpleConnection* self = new (ELeave) CSimpleConnection( aObserver );
CleanupStack::PushL( self );
- self->ConstructL( NULL );
- CleanupStack::Pop( self );
- return self;
- }
-
-// ----------------------------------------------------------
-// CSimpleConnection::NewL
-// ----------------------------------------------------------
-//
-CSimpleConnection* CSimpleConnection::NewL(
- MSimpleConnectionObserver& aObserver, TInt32 aServiceId )
- {
-#ifdef _DEBUG
- TSimpleLogger::Log(_L("SimpleConnection: NewL" ));
-#endif
- CSimpleConnection* self = new (ELeave) CSimpleConnection( aObserver );
- CleanupStack::PushL( self );
- self->ConstructL( aServiceId );
+ self->ConstructL();
CleanupStack::Pop( self );
return self;
}