PECengine/TransferAdapter2/Inc/PEngTransferAdapter.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Transfer adamapter manager
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __PENGTRANSFERADAPTER_H
       
    20 #define __PENGTRANSFERADAPTER_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include    <e32base.h>
       
    24 
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class MPEngAccessHandler;
       
    28 class MPEngPureDataHandler;
       
    29 class CPEngSessionSlotId;
       
    30 
       
    31 
       
    32 /**
       
    33  *  Transfer manager adapter
       
    34  *  It is used to retrieve access handler and
       
    35  *  pure data handler for the defined session
       
    36  *
       
    37  *  @lib
       
    38  *  @since 3.0
       
    39  */
       
    40 class PEngTransferAdapter
       
    41     {
       
    42 
       
    43     public: // New functions
       
    44 
       
    45         /**
       
    46          *
       
    47          *
       
    48          *  @since 3.0
       
    49          *  @param
       
    50          *  @return
       
    51          */
       
    52         IMPORT_C static MPEngAccessHandler* AccessHandlerL(
       
    53             const CPEngSessionSlotId& aSessionSlot );
       
    54 
       
    55         /**
       
    56          *
       
    57          *
       
    58          *  @since 3.0
       
    59          *  @param
       
    60          *  @return
       
    61          */
       
    62         IMPORT_C static MPEngPureDataHandler* PureDataHandlerL(
       
    63             const CPEngSessionSlotId& aSessionSlot );
       
    64 
       
    65     protected: // Constructors and destructor
       
    66 
       
    67         /**
       
    68         * C++ default constructor.
       
    69         */
       
    70         PEngTransferAdapter();
       
    71 
       
    72         /**
       
    73         * Destructor.
       
    74         */
       
    75         virtual ~PEngTransferAdapter();
       
    76 
       
    77         // Prohibit copy constructor if not deriving from CBase.
       
    78         PEngTransferAdapter( const PEngTransferAdapter& );
       
    79 
       
    80         // Prohibit assignments operator if not deriving from CBase.
       
    81         PEngTransferAdapter& operator=( const PEngTransferAdapter& );
       
    82     };
       
    83 
       
    84 
       
    85 #endif      // __PEngTransferAdapter_H
       
    86 
       
    87 // End of File