os/boardsupport/emulator/emulatorbsp/specific/winscomm.inl
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // wins/specific/winscomm.inl
    15 // inline void DComm::SetCurrent(TInt aCurrent)
    16 // { iLdd->iPowerHandler->SetCurrentConsumption(aCurrent); }
    17 // 
    18 //
    19 
    20 
    21 
    22 
    23 inline TBool DChannelComm::AreAnyPending() const
    24 	{ return((DComm*)iPdd)->AreAnyPending(); }
    25 
    26 inline TInt DChannelComm::RxCount()
    27 	{ return ((DComm*)iPdd)->RxCount(); }
    28 
    29 inline void DChannelComm::ReadCancel()
    30 	{ ((DComm*)iPdd)->ReadCancel(); }
    31 
    32 inline void DChannelComm::WriteCancel()
    33 	{ ((DComm*)iPdd)->WriteCancel(); }
    34 
    35 inline void DChannelComm::SignalChangeCancel()
    36 	{ ((DComm*)iPdd)->SignalChangeCancel(); }
    37 
    38 inline void DChannelComm::ResetBuffers(TBool aTx)
    39 	{ ((DComm*)iPdd)->ResetBuffers(aTx); }
    40 
    41 inline TInt DChannelComm::SetRxBufferSize(TInt aSize)
    42 	{ return ((DComm*)iPdd)->SetRxBufferSize(aSize); }
    43 
    44 inline TDes8* DChannelComm::RxBuffer()
    45 	{ return ((DComm*)iPdd)->RxBuffer(); }
    46 
    47 inline	TInt DChannelComm::RxBufferSize()
    48 	{ return ((DComm*)iPdd)->RxBufferSize(); }
    49 
    50 inline void DChannelComm::SetStatus(TState aStatus)
    51 	{ iStatus=aStatus; }
    52 
    53 inline TInt DChannelComm::PddStart()
    54 	{ return ((DComm*)iPdd)->Start(); }
    55 
    56 inline void DChannelComm::Stop(TStopMode aMode)
    57 	{ ((DComm*)iPdd)->Stop(aMode); }
    58 
    59 inline void DChannelComm::PddBreak(TBool aState)
    60 	{ ((DComm*)iPdd)->Break(aState); }
    61 
    62 inline TUint DChannelComm::Signals() const
    63 	{ return ((DComm*)iPdd)->Signals(); }
    64 
    65 inline void DChannelComm::SetSignals(TUint aSetMask,TUint aClearMask)
    66 	{ ((DComm*)iPdd)->SetSignals(aSetMask,aClearMask); }
    67 
    68 inline TInt DChannelComm::ValidateConfig(const TCommConfigV01 &aConfig) const
    69 	{ return ((DComm*)iPdd)->ValidateConfig(aConfig); }
    70 
    71 inline void DChannelComm::PddConfigure(TCommConfigV01 &aConfig)
    72 	{ ((DComm*)iPdd)->Configure(aConfig); }
    73 
    74 inline void DChannelComm::PddCaps(TDes8 &aCaps) const
    75 	{ ((DComm*)iPdd)->Caps(aCaps); }
    76 
    77 inline void DChannelComm::PddCheckConfig(TCommConfigV01& aConfig)
    78 	{ ((DComm*)iPdd)->CheckConfig(aConfig); }
    79 
    80 inline TBool DChannelComm::Transmitting()
    81 	{ return ((DComm*)iPdd)->iTransmitting; }
    82 
    83 inline TBool DChannelComm::LineFail()
    84 	{ return ((DComm*)iPdd)->LineFail(); }
    85