systemswstubs/ddcaccessstub/src/ddc_accessimpl.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 14 Jan 2010 07:14:53 +0200
changeset 0 0ce1b5ce9557
permissions -rw-r--r--
Revision: 201001

/*
 * 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