diff -r 65e91466a14b -r b7e5ed8c1342 systemswstubs/ddcaccessstub/src/ddc_accessimpl.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/systemswstubs/ddcaccessstub/src/ddc_accessimpl.cpp Tue Sep 07 08:19:48 2010 +0300 @@ -0,0 +1,98 @@ +/* + * Copyright (c) 2009 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" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: + * CDdcPortAccessImpl class implementation. + * + */ + +// USER INCLUDES +#include "ddc_accessimpl.h" + +// ======== MEMBER FUNCTIONS ======== + +// --------------------------------------------------------------------------- +// C++ constructor. +// --------------------------------------------------------------------------- +// +CDdcPortAccessImpl::CDdcPortAccessImpl() + { + + } + +// --------------------------------------------------------------------------- +// Symbian 2nd phase constructor. +// --------------------------------------------------------------------------- +// +void CDdcPortAccessImpl::ConstructL() + { + + } + +// --------------------------------------------------------------------------- +// Symbian two phased constructor. +// --------------------------------------------------------------------------- +// +CDdcPortAccessImpl* CDdcPortAccessImpl::NewL() + { + CDdcPortAccessImpl* self = CDdcPortAccessImpl::NewLC(); + CleanupStack::Pop( self ); + return self; + } + +// --------------------------------------------------------------------------- +// Symbian two phased constructor. +// Leaves pointer in the cleanup stack. +// --------------------------------------------------------------------------- +// +CDdcPortAccessImpl* CDdcPortAccessImpl::NewLC() + { + CDdcPortAccessImpl* self = new ( ELeave ) CDdcPortAccessImpl; + CleanupStack::PushL( self ); + self->ConstructL(); + return self; + } + +// --------------------------------------------------------------------------- +// C++ destructor. +// --------------------------------------------------------------------------- +// +CDdcPortAccessImpl::~CDdcPortAccessImpl() + { + + } + +//------------------------------------------------------------------------------ +// CDdcPortAccessImpl::Read +//------------------------------------------------------------------------------ +// +TInt CDdcPortAccessImpl::Read( TDdcPort /*aDdcPort*/, + TUint /*aBlockNumber*/, + TDataBlock& /*aDataBlock*/, + TRequestStatus& aCompletedWhenRead ) + { + TRequestStatus* status = &aCompletedWhenRead; + User::RequestComplete( status, KErrNotSupported ); + return KErrNotSupported; + } + +//------------------------------------------------------------------------------ +// CDdcPortAccessImpl::CancelAll +//------------------------------------------------------------------------------ +// +void CDdcPortAccessImpl::CancelAll() + { + // Nothing to do here. + } + +// End of file