0
|
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".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// e32/drivers/iic/iic_priv.h
|
|
15 |
//
|
|
16 |
|
|
17 |
#ifndef __IIC_PRIV_H__
|
|
18 |
#define __IIC_PRIV_H__
|
|
19 |
|
|
20 |
/**
|
|
21 |
@internalComponent
|
|
22 |
@prototype 9.6
|
|
23 |
|
|
24 |
Stub class for use by DIicBusController in searching iChannelArray
|
|
25 |
|
|
26 |
@see DIicBusController
|
|
27 |
*/
|
|
28 |
class DIicBusChannelSearcher : public DIicBusChannel
|
|
29 |
{
|
|
30 |
public:
|
|
31 |
inline DIicBusChannelSearcher(TChannelType aChanType, TBusType aBusType, TChannelDuplex aChanDuplex)
|
|
32 |
: DIicBusChannel(aChanType, aBusType, aChanDuplex)
|
|
33 |
{}
|
|
34 |
inline virtual TInt DoCreate() {return KErrNone;};
|
|
35 |
protected:
|
|
36 |
virtual TInt CheckHdr(TDes8* /*aHdr*/) {return KErrNone;};
|
|
37 |
public:
|
|
38 |
void SetChannelNumber(TInt8 aChanNum) {iChannelNumber=aChanNum;};
|
|
39 |
};
|
|
40 |
|
|
41 |
#endif // #ifndef __IIC__PRIV_H__
|
|
42 |
|