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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // wins/specific/winscomm.inl
15 // inline void DComm::SetCurrent(TInt aCurrent)
16 // { iLdd->iPowerHandler->SetCurrentConsumption(aCurrent); }
23 inline TBool DChannelComm::AreAnyPending() const
24 { return((DComm*)iPdd)->AreAnyPending(); }
26 inline TInt DChannelComm::RxCount()
27 { return ((DComm*)iPdd)->RxCount(); }
29 inline void DChannelComm::ReadCancel()
30 { ((DComm*)iPdd)->ReadCancel(); }
32 inline void DChannelComm::WriteCancel()
33 { ((DComm*)iPdd)->WriteCancel(); }
35 inline void DChannelComm::SignalChangeCancel()
36 { ((DComm*)iPdd)->SignalChangeCancel(); }
38 inline void DChannelComm::ResetBuffers(TBool aTx)
39 { ((DComm*)iPdd)->ResetBuffers(aTx); }
41 inline TInt DChannelComm::SetRxBufferSize(TInt aSize)
42 { return ((DComm*)iPdd)->SetRxBufferSize(aSize); }
44 inline TDes8* DChannelComm::RxBuffer()
45 { return ((DComm*)iPdd)->RxBuffer(); }
47 inline TInt DChannelComm::RxBufferSize()
48 { return ((DComm*)iPdd)->RxBufferSize(); }
50 inline void DChannelComm::SetStatus(TState aStatus)
53 inline TInt DChannelComm::PddStart()
54 { return ((DComm*)iPdd)->Start(); }
56 inline void DChannelComm::Stop(TStopMode aMode)
57 { ((DComm*)iPdd)->Stop(aMode); }
59 inline void DChannelComm::PddBreak(TBool aState)
60 { ((DComm*)iPdd)->Break(aState); }
62 inline TUint DChannelComm::Signals() const
63 { return ((DComm*)iPdd)->Signals(); }
65 inline void DChannelComm::SetSignals(TUint aSetMask,TUint aClearMask)
66 { ((DComm*)iPdd)->SetSignals(aSetMask,aClearMask); }
68 inline TInt DChannelComm::ValidateConfig(const TCommConfigV01 &aConfig) const
69 { return ((DComm*)iPdd)->ValidateConfig(aConfig); }
71 inline void DChannelComm::PddConfigure(TCommConfigV01 &aConfig)
72 { ((DComm*)iPdd)->Configure(aConfig); }
74 inline void DChannelComm::PddCaps(TDes8 &aCaps) const
75 { ((DComm*)iPdd)->Caps(aCaps); }
77 inline void DChannelComm::PddCheckConfig(TCommConfigV01& aConfig)
78 { ((DComm*)iPdd)->CheckConfig(aConfig); }
80 inline TBool DChannelComm::Transmitting()
81 { return ((DComm*)iPdd)->iTransmitting; }
83 inline TBool DChannelComm::LineFail()
84 { return ((DComm*)iPdd)->LineFail(); }