--- a/tsrc/mceclientstub/src/mceoutsession.cpp Tue Aug 31 15:12:07 2010 +0300
+++ b/tsrc/mceclientstub/src/mceoutsession.cpp Wed Sep 01 12:31:01 2010 +0100
@@ -31,16 +31,10 @@
//
EXPORT_C CMceOutSession* CMceOutSession::NewL(
CMceManager& aManager,
- CSIPProfile& aProfile,
+ CSIPProfile& /*aProfile*/,
const TDesC8& aRecipient,
HBufC8* aOriginator )
{
- // Check that profile has been registered
- TBool profileRegistered = EFalse;
-
- aProfile.GetParameter( KSIPProfileRegistered, profileRegistered );
- __ASSERT_ALWAYS( profileRegistered, User::Leave( KErrCouldNotConnect ) );
-
CMceOutSession* self = new (ELeave) CMceOutSession( &aManager, 0 );
CleanupStack::PushL( self );
self->ConstructL( aRecipient, aOriginator );
@@ -66,14 +60,6 @@
return NULL;
}
-// -----------------------------------------------------------------------------
-// CMceOutSession::NewL
-// -----------------------------------------------------------------------------
-//
-EXPORT_C CMceOutSession* CMceOutSession::NewL()
- {
- return new( ELeave )CMceOutSession( NULL, 0 );
- }
// -----------------------------------------------------------------------------
// CMceOutSession::~CMceOutSession
@@ -118,7 +104,10 @@
delete aContent;
delete aContentHeaders;
- iState = CMceSession::EOffering;
+ iState = CMceSession::EOffering;
+
+
+
}
@@ -171,6 +160,7 @@
//
void CMceOutSession::ConstructL( const TDesC8& aRecipient, HBufC8* aOriginator )
{
+
delete iRecipient;
iRecipient = NULL;
iRecipient = aRecipient.AllocL();
@@ -184,4 +174,6 @@
}
CMceSession::ConstructL();
+
+
}