testexecmgmt/ucc/Source/MobileTermination/CDatalinkNull.h
changeset 0 3da2a79470a7
equal deleted inserted replaced
-1:000000000000 0:3da2a79470a7
       
     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 * CDatalinkNull
       
    16 * This datalink layer simply forwards data synchronously between the techannel
       
    17 * and the air interface with no buffering or processing (except maybe some 
       
    18 * filters attached to the module).
       
    19 *
       
    20 */
       
    21 
       
    22 
       
    23 
       
    24 #ifndef __CDATALINKNULL_H__
       
    25 #define __CDATALINKNULL_H__
       
    26 
       
    27 /*******************************************************************************
       
    28  *
       
    29  * Local Includes
       
    30  *
       
    31  ******************************************************************************/
       
    32 #include "MTInterfaces.h"
       
    33 #include "CLog.h"
       
    34 
       
    35 /*******************************************************************************
       
    36  *
       
    37  * Class Definition
       
    38  *
       
    39  ******************************************************************************/
       
    40 class CDatalinkNull : public IProcessData
       
    41 {
       
    42 public:
       
    43 	// Construction and Access
       
    44 	CDatalinkNull( TPhoneData *aPhoneData, CLog *aLog );
       
    45 	virtual ~CDatalinkNull();
       
    46 
       
    47 	// IProcessData
       
    48 	virtual TDataPathError ProcessTEData( char *data, int len, int *aErrCode );
       
    49 	virtual TDataPathError ProcessUUData( char *data, int len, int *aErrCode );
       
    50 	void SetAirInterface( IAirInterface *aAirInterface );
       
    51 	void SetTEChannel( ITEChannel *aTEChannel );
       
    52 
       
    53 private:
       
    54 	IAirInterface *iAirInterface;
       
    55 	ITEChannel *iTEChannel;
       
    56 	TPhoneData *iPhoneData;
       
    57 	CLog *iLog;
       
    58 };
       
    59 
       
    60 #endif //__CDATALINKNULL_H__