Update contrib.
1 // Copyright (c) 2005-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 // e32test\emi\emitest_dev.h
18 #ifndef __D_EMITEST_DEV_H__
19 #define __D_EMITEST_DEV_H__
22 Logical Device (factory class) for 'EMITest'
24 class DEMITestFactory : public DLogicalDevice
30 // Inherited from DLogicalDevice
31 virtual TInt Install();
32 virtual void GetCaps(TDes8& aDes) const;
33 virtual TInt Create(DLogicalChannelBase*& aChannel);
38 Logical Channel class for 'EMITest'
40 class DEMITestChannel : public DLogicalChannelBase
45 virtual ~DEMITestChannel();
46 TInt Request(TInt aFunction, TAny* a1, TAny* a2);
47 // Inherited from DLogicalChannelBase
48 virtual TInt DoCreate(TInt aUnit, const TDesC8* anInfo, const TVersion& aVer);
54 ERequestFromWrongThread=1,
55 ERequestAlreadyPending
57 TInt DoRequest(TInt aReqNo, TRequestStatus* aStatus, TAny* a1, TAny* a2);
58 void DoCancel(TUint aMask);
59 static void TagMaskDFC(TAny* aPtr);