epoc32/include/wins/winscomm.inl
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/wins/winscomm.inl	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,84 +0,0 @@
     1.4 -// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// 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
     1.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -// wins/specific/winscomm.inl
    1.18 -// inline void DComm::SetCurrent(TInt aCurrent)
    1.19 -// { iLdd->iPowerHandler->SetCurrentConsumption(aCurrent); }
    1.20 -// 
    1.21 -//
    1.22 -
    1.23 -
    1.24 -
    1.25 -
    1.26 -inline TBool DChannelComm::AreAnyPending() const
    1.27 -	{ return((DComm*)iPdd)->AreAnyPending(); }
    1.28 -
    1.29 -inline TInt DChannelComm::RxCount()
    1.30 -	{ return ((DComm*)iPdd)->RxCount(); }
    1.31 -
    1.32 -inline void DChannelComm::ReadCancel()
    1.33 -	{ ((DComm*)iPdd)->ReadCancel(); }
    1.34 -
    1.35 -inline void DChannelComm::WriteCancel()
    1.36 -	{ ((DComm*)iPdd)->WriteCancel(); }
    1.37 -
    1.38 -inline void DChannelComm::SignalChangeCancel()
    1.39 -	{ ((DComm*)iPdd)->SignalChangeCancel(); }
    1.40 -
    1.41 -inline void DChannelComm::ResetBuffers(TBool aTx)
    1.42 -	{ ((DComm*)iPdd)->ResetBuffers(aTx); }
    1.43 -
    1.44 -inline TInt DChannelComm::SetRxBufferSize(TInt aSize)
    1.45 -	{ return ((DComm*)iPdd)->SetRxBufferSize(aSize); }
    1.46 -
    1.47 -inline TDes8* DChannelComm::RxBuffer()
    1.48 -	{ return ((DComm*)iPdd)->RxBuffer(); }
    1.49 -
    1.50 -inline	TInt DChannelComm::RxBufferSize()
    1.51 -	{ return ((DComm*)iPdd)->RxBufferSize(); }
    1.52 -
    1.53 -inline void DChannelComm::SetStatus(TState aStatus)
    1.54 -	{ iStatus=aStatus; }
    1.55 -
    1.56 -inline TInt DChannelComm::PddStart()
    1.57 -	{ return ((DComm*)iPdd)->Start(); }
    1.58 -
    1.59 -inline void DChannelComm::Stop(TStopMode aMode)
    1.60 -	{ ((DComm*)iPdd)->Stop(aMode); }
    1.61 -
    1.62 -inline void DChannelComm::PddBreak(TBool aState)
    1.63 -	{ ((DComm*)iPdd)->Break(aState); }
    1.64 -
    1.65 -inline TUint DChannelComm::Signals() const
    1.66 -	{ return ((DComm*)iPdd)->Signals(); }
    1.67 -
    1.68 -inline void DChannelComm::SetSignals(TUint aSetMask,TUint aClearMask)
    1.69 -	{ ((DComm*)iPdd)->SetSignals(aSetMask,aClearMask); }
    1.70 -
    1.71 -inline TInt DChannelComm::ValidateConfig(const TCommConfigV01 &aConfig) const
    1.72 -	{ return ((DComm*)iPdd)->ValidateConfig(aConfig); }
    1.73 -
    1.74 -inline void DChannelComm::PddConfigure(TCommConfigV01 &aConfig)
    1.75 -	{ ((DComm*)iPdd)->Configure(aConfig); }
    1.76 -
    1.77 -inline void DChannelComm::PddCaps(TDes8 &aCaps) const
    1.78 -	{ ((DComm*)iPdd)->Caps(aCaps); }
    1.79 -
    1.80 -inline void DChannelComm::PddCheckConfig(TCommConfigV01& aConfig)
    1.81 -	{ ((DComm*)iPdd)->CheckConfig(aConfig); }
    1.82 -
    1.83 -inline TBool DChannelComm::Transmitting()
    1.84 -	{ return ((DComm*)iPdd)->iTransmitting; }
    1.85 -
    1.86 -inline TBool DChannelComm::LineFail()
    1.87 -	{ return ((DComm*)iPdd)->LineFail(); }