cellularsrvapitest/datatransferhaitest/common/inc/DataDealerParams.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 /*
       
     2 * Copyright (c) 2005-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 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DATA_DEALER_PARAMS_H
       
    20 #define DATA_DEALER_PARAMS_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 // Class for data dealer paramaters
       
    25 class TDataDealerParams
       
    26     {
       
    27     public:
       
    28     /**
       
    29     Constructor
       
    30   	@param TBool aProducer If aProducer is set ETrue Data dealer is a producer
       
    31                             Otherwise data dealer is a consumer
       
    32     @param TUint aKey identifier
       
    33     */
       
    34     TDataDealerParams( const TBool aProducer, const TUint aKey ):
       
    35         iProducer( aProducer ), iKey( aKey )
       
    36         {};
       
    37 
       
    38     /**
       
    39     Either created data dealer produces or consumes data
       
    40     */
       
    41     TBool iProducer;
       
    42 
       
    43     /**
       
    44     Unique identificator for DataDealer
       
    45     */
       
    46     TUint iKey;
       
    47     };
       
    48 
       
    49 #endif	// DATA_DEALER_PARAMS_H