Update contrib.
1 // Copyright (c) 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 "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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32/drivers/iic/iic_priv.h
17 #ifndef __IIC_PRIV_H__
18 #define __IIC_PRIV_H__
24 Stub class for use by DIicBusController in searching iChannelArray
26 @see DIicBusController
28 class DIicBusChannelSearcher : public DIicBusChannel
31 inline DIicBusChannelSearcher(TChannelType aChanType, TBusType aBusType, TChannelDuplex aChanDuplex)
32 : DIicBusChannel(aChanType, aBusType, aChanDuplex)
34 inline virtual TInt DoCreate() {return KErrNone;};
36 virtual TInt CheckHdr(TDes8* /*aHdr*/) {return KErrNone;};
38 void SetChannelNumber(TInt8 aChanNum) {iChannelNumber=aChanNum;};
41 #endif // #ifndef __IIC__PRIV_H__