diff -r a232af6b0b1f -r a5496987b1da kernel/eka/include/d32usbcsc.inl --- a/kernel/eka/include/d32usbcsc.inl Wed Jun 23 12:58:21 2010 +0100 +++ b/kernel/eka/include/d32usbcsc.inl Thu Jul 01 17:57:33 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1995-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of the License "Eclipse Public License v1.0" @@ -118,10 +118,19 @@ /** @capability CommDD */ -inline TInt RDevUsbcScClient::Open(TInt aUnit) +inline TInt RDevUsbcScClient::Open(TInt aUnit, TBool aShare) { _LIT(KUsbDevName, "usbcsc"); - return (DoCreate(KUsbDevName, VersionRequired(), aUnit, NULL, NULL, EOwnerThread)); + return (DoCreate(KUsbDevName, VersionRequired(), aUnit, NULL, NULL, EOwnerThread, aShare)); + } + +inline TInt RDevUsbcScClient::Open(RMessagePtr2 aMessage,TInt aParam,TOwnerType aType) + { + iEndpointStatus = 0; + iAltSettingSeq = 0; + iAlternateSetting = 0; + iNewAltSetting = 0; + return RBusLogicalChannel::Open(aMessage,aParam,aType); } @@ -714,6 +723,8 @@ return DoControl(EControlStartNextInAlternateSetting); } + + //Buffer Interface Layer (BIL) inline functions @@ -730,6 +741,12 @@ return iEndpointNumber; } +inline TInt TEndpointBuffer::BufferNumber() + { + return iBufferNum; + } + + #endif // #ifndef __KERNEL_MODE__ #endif // #ifndef __D32USBCSC_INL__