kerneltest/e32test/device/d_ldd.h
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 1998-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 // e32test\device\d_ldd.h
       
    15 // 
       
    16 //
       
    17 
       
    18 #if !defined(__D32LDD_H__)
       
    19 #define __D32LDD_H__
       
    20 #include <e32cmn.h>
       
    21 #ifndef __KERNEL_MODE__
       
    22 #include <e32std.h>
       
    23 #endif
       
    24 
       
    25 _LIT(KLddName,"Test");
       
    26 _LIT(KKInstallLddName,"TestKInstall");
       
    27 
       
    28 class TCapsTestV01
       
    29 	{
       
    30 public:
       
    31 	TVersion	iVersion;
       
    32 	};
       
    33 
       
    34 class RLddTest : public RBusLogicalChannel
       
    35 	{
       
    36 public:
       
    37 	enum TControl
       
    38 		{
       
    39 		EControlTest1=0,
       
    40 		EControlTest2=1,
       
    41 		EControlTest3=2,
       
    42 		EControlTest4=3,
       
    43 		EControlTest5=4,
       
    44 		EControlTest6=5,
       
    45 		EControlTest7=6,
       
    46 		EControlTest8=7,
       
    47 		EControlTest9=8,
       
    48 		EControlTestKInstall=9,
       
    49 		EControlLinkedTest1=10,
       
    50 		EControlLinkedTest2=11,
       
    51 		EControlLinkedTest3=12,
       
    52 		EControlLinkedTest4=13,
       
    53 		EControlLinkedTest5=14,
       
    54 		EControlLinkedTest6=15,
       
    55 		EControlLinkedTest7=16,
       
    56 		EControlLinkedTest8=17,
       
    57 		EControlLinkedTest9=18,
       
    58 		};
       
    59 	enum TRequest
       
    60 		{
       
    61 		};
       
    62 public:
       
    63 	inline TInt Open();
       
    64 	inline TInt Test1();
       
    65 	inline TInt Test2();
       
    66 	inline TInt Test3();
       
    67 	inline TInt Test4();
       
    68 	inline TInt Test5();
       
    69 	inline TInt Test6(TInt aValue);
       
    70 	inline TUint32 Test7();
       
    71 	inline void Test8(TUint32 aValue);
       
    72 	inline TInt Test9();
       
    73 	inline TInt LinkedTest1();
       
    74 	inline TInt LinkedTest2();
       
    75 	inline TInt LinkedTest3();
       
    76 	inline TInt LinkedTest4();
       
    77 	inline TInt LinkedTest5();
       
    78 	inline TInt LinkedTest6(TInt aValue);
       
    79 	inline TUint32 LinkedTest7();
       
    80 	inline void LinkedTest8(TUint32 aValue);
       
    81 	inline TInt LinkedTest9();
       
    82 	inline TInt TestKInstall();
       
    83 	static inline TInt UnloadAndWait();
       
    84 	static inline TInt Unload();
       
    85 	};
       
    86 
       
    87 class RKInstallTest : public RBusLogicalChannel
       
    88 	{
       
    89 public:
       
    90 	inline TInt Open();
       
    91 	};
       
    92 
       
    93 #include "d_ldd.inl"
       
    94 #endif
       
    95