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