First public contribution.
1 // Copyright (c) 2004-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\mmu\d_import.h
18 #ifndef __D_IMPORT_H__
19 #define __D_IMPORT_H__
22 #ifndef __KERNEL_MODE__
28 _LIT(KImportTestLddName,"d_import");
30 class RImportLdd : public RBusLogicalChannel
38 #ifndef __KERNEL_MODE__
42 TInt r=User::LoadLogicalDevice(KImportTestLddName);
43 if(r==KErrNone || r==KErrAlreadyExists)
44 r=DoCreate(KImportTestLddName,TVersion(),KNullUnit,NULL,NULL,EOwnerProcess,ETrue);
47 inline TInt RunImport(TUint aNum0, TUint aNum1)
48 { return DoControl(ERunImport, (TAny*)aNum0, (TAny*)aNum1); }