sl@0: // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32/drivers/iic/iic_priv.h sl@0: // sl@0: sl@0: #ifndef __IIC_PRIV_H__ sl@0: #define __IIC_PRIV_H__ sl@0: sl@0: /** sl@0: @internalComponent sl@0: @prototype 9.6 sl@0: sl@0: Stub class for use by DIicBusController in searching iChannelArray sl@0: sl@0: @see DIicBusController sl@0: */ sl@0: class DIicBusChannelSearcher : public DIicBusChannel sl@0: { sl@0: public: sl@0: inline DIicBusChannelSearcher(TChannelType aChanType, TBusType aBusType, TChannelDuplex aChanDuplex) sl@0: : DIicBusChannel(aChanType, aBusType, aChanDuplex) sl@0: {} sl@0: inline virtual TInt DoCreate() {return KErrNone;}; sl@0: protected: sl@0: virtual TInt CheckHdr(TDes8* /*aHdr*/) {return KErrNone;}; sl@0: public: sl@0: void SetChannelNumber(TInt8 aChanNum) {iChannelNumber=aChanNum;}; sl@0: }; sl@0: sl@0: #endif // #ifndef __IIC__PRIV_H__ sl@0: