systemswstubs/ddcaccessstub/inc/ddc_accessimpl.h
changeset 39 65e91466a14b
parent 31 931072794a66
child 40 b7e5ed8c1342
equal deleted inserted replaced
31:931072794a66 39:65e91466a14b
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  * 
       
    14  * Description:
       
    15  * CDdcPortAccessImpl class declaration.
       
    16  *
       
    17  */
       
    18 
       
    19 #ifndef DDCACCESSIMPL_H
       
    20 #define DDCACCESSIMPL_H
       
    21 
       
    22 // SYSTEM INCLUDE FILES
       
    23 #include <ddc_access.h>
       
    24 #include <f32file.h>
       
    25 
       
    26 // USER INCLUDE FILES
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 
       
    30 // DATA TYPES
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35  * DDC Access Stub implementation.
       
    36  *
       
    37  * @lib ddc_access.lib
       
    38  * @since S60 TB9.2
       
    39  */
       
    40 NONSHARABLE_CLASS( CDdcPortAccessImpl ): public CDdcPortAccess
       
    41     {
       
    42 public:
       
    43 
       
    44     /**
       
    45      * Symbian two phased constructors.
       
    46      *
       
    47      * @since S60 TB9.2
       
    48      * @param None.
       
    49      * @return CDDCAccessImpl
       
    50      */
       
    51     static CDdcPortAccessImpl* NewL();
       
    52     static CDdcPortAccessImpl* NewLC();
       
    53 
       
    54     /**
       
    55      * C++ destructor.
       
    56      */
       
    57     virtual ~CDdcPortAccessImpl();
       
    58 
       
    59 protected: // From base classes
       
    60 
       
    61     // @see CDdcPortAccess
       
    62     virtual TInt Read( TDdcPort aDdcPort,
       
    63         TUint aBlockNumber,
       
    64         TDataBlock& aDataBlock,
       
    65         TRequestStatus& aCompletedWhenRead );
       
    66 
       
    67     // @see CDdcPortAccess
       
    68     virtual void CancelAll();
       
    69 
       
    70     // @see CDdcPortAccess
       
    71     virtual void ConstructL();
       
    72     
       
    73 private:
       
    74 
       
    75     CDdcPortAccessImpl();
       
    76     };
       
    77 
       
    78 #endif // DDCACCESSIMPL_H