diff -r ead42e28e519 -r 79bd6bd83ec3 wim/Scard/src/ScardConnector.cpp --- a/wim/Scard/src/ScardConnector.cpp Wed Sep 15 13:09:05 2010 +0300 +++ b/wim/Scard/src/ScardConnector.cpp Wed Oct 13 15:30:47 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -89,12 +89,17 @@ // might leave. // ----------------------------------------------------------------------------- // -CScardConnector::CScardConnector( CScardConnectionRegistry* aConnRegistry ) : - CScardSession(), iConnectionRegistry( aConnRegistry ), iState( EActive ) +CScardConnector::CScardConnector( + CScardConnectionRegistry* aConnRegistry, + RThread& /*aClient*/ ) + : CScardSession(), + iConnectionRegistry( aConnRegistry ), + iState( EActive ) { _WIMTRACE(_L("WIM|Scard|CScardConnector::CScardConnector|Begin")); } + // ----------------------------------------------------------------------------- // CScardConnector::ConstructL // Symbian 2nd phase constructor can leave. @@ -115,12 +120,14 @@ // ----------------------------------------------------------------------------- // CScardConnector* CScardConnector::NewL( - CScardConnectionRegistry* aConnRegistry, + CScardConnectionRegistry* aConnRegistry, + RThread& aClient, const RMessage2& aMessage ) { _WIMTRACE(_L("WIM|Scard|CScardConnector::NewL|Begin")); - CScardConnector* self = new( ELeave ) CScardConnector( aConnRegistry ); - + CScardConnector* self = new( ELeave ) CScardConnector( aConnRegistry, + aClient ); + CleanupStack::PushL( self ); self->ConstructL( aMessage ); CleanupStack::Pop( self );