1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kernel/eka/drivers/iic/iic_priv.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,42 @@
1.4 +// Copyright (c) 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 "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.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 +// e32/drivers/iic/iic_priv.h
1.18 +//
1.19 +
1.20 +#ifndef __IIC_PRIV_H__
1.21 +#define __IIC_PRIV_H__
1.22 +
1.23 +/**
1.24 +@internalComponent
1.25 +@prototype 9.6
1.26 +
1.27 +Stub class for use by DIicBusController in searching iChannelArray
1.28 +
1.29 +@see DIicBusController
1.30 +*/
1.31 +class DIicBusChannelSearcher : public DIicBusChannel
1.32 + {
1.33 +public:
1.34 + inline DIicBusChannelSearcher(TChannelType aChanType, TBusType aBusType, TChannelDuplex aChanDuplex)
1.35 + : DIicBusChannel(aChanType, aBusType, aChanDuplex)
1.36 + {}
1.37 + inline virtual TInt DoCreate() {return KErrNone;};
1.38 +protected:
1.39 + virtual TInt CheckHdr(TDes8* /*aHdr*/) {return KErrNone;};
1.40 +public:
1.41 + void SetChannelNumber(TInt8 aChanNum) {iChannelNumber=aChanNum;};
1.42 + };
1.43 +
1.44 +#endif // #ifndef __IIC__PRIV_H__
1.45 +