1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/device/d_ldd.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,95 @@
1.4 +// Copyright (c) 1998-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 +// e32test\device\d_ldd.h
1.18 +//
1.19 +//
1.20 +
1.21 +#if !defined(__D32LDD_H__)
1.22 +#define __D32LDD_H__
1.23 +#include <e32cmn.h>
1.24 +#ifndef __KERNEL_MODE__
1.25 +#include <e32std.h>
1.26 +#endif
1.27 +
1.28 +_LIT(KLddName,"Test");
1.29 +_LIT(KKInstallLddName,"TestKInstall");
1.30 +
1.31 +class TCapsTestV01
1.32 + {
1.33 +public:
1.34 + TVersion iVersion;
1.35 + };
1.36 +
1.37 +class RLddTest : public RBusLogicalChannel
1.38 + {
1.39 +public:
1.40 + enum TControl
1.41 + {
1.42 + EControlTest1=0,
1.43 + EControlTest2=1,
1.44 + EControlTest3=2,
1.45 + EControlTest4=3,
1.46 + EControlTest5=4,
1.47 + EControlTest6=5,
1.48 + EControlTest7=6,
1.49 + EControlTest8=7,
1.50 + EControlTest9=8,
1.51 + EControlTestKInstall=9,
1.52 + EControlLinkedTest1=10,
1.53 + EControlLinkedTest2=11,
1.54 + EControlLinkedTest3=12,
1.55 + EControlLinkedTest4=13,
1.56 + EControlLinkedTest5=14,
1.57 + EControlLinkedTest6=15,
1.58 + EControlLinkedTest7=16,
1.59 + EControlLinkedTest8=17,
1.60 + EControlLinkedTest9=18,
1.61 + };
1.62 + enum TRequest
1.63 + {
1.64 + };
1.65 +public:
1.66 + inline TInt Open();
1.67 + inline TInt Test1();
1.68 + inline TInt Test2();
1.69 + inline TInt Test3();
1.70 + inline TInt Test4();
1.71 + inline TInt Test5();
1.72 + inline TInt Test6(TInt aValue);
1.73 + inline TUint32 Test7();
1.74 + inline void Test8(TUint32 aValue);
1.75 + inline TInt Test9();
1.76 + inline TInt LinkedTest1();
1.77 + inline TInt LinkedTest2();
1.78 + inline TInt LinkedTest3();
1.79 + inline TInt LinkedTest4();
1.80 + inline TInt LinkedTest5();
1.81 + inline TInt LinkedTest6(TInt aValue);
1.82 + inline TUint32 LinkedTest7();
1.83 + inline void LinkedTest8(TUint32 aValue);
1.84 + inline TInt LinkedTest9();
1.85 + inline TInt TestKInstall();
1.86 + static inline TInt UnloadAndWait();
1.87 + static inline TInt Unload();
1.88 + };
1.89 +
1.90 +class RKInstallTest : public RBusLogicalChannel
1.91 + {
1.92 +public:
1.93 + inline TInt Open();
1.94 + };
1.95 +
1.96 +#include "d_ldd.inl"
1.97 +#endif
1.98 +