kerneltest/e32test/device/d_ldd.h
author Mike Kinghan <mikek@symbian.org>
Tue, 16 Nov 2010 14:39:21 +0000
branchGCC_SURGE
changeset 303 9b85206a602c
parent 0 a41df078684a
permissions -rw-r--r--
We need a way to pass flags to rombuilds in Raptor via extension flm interfaces, so that the CPP pass of the rom input files can be informed what toolchain we are building with and conditionally include or exclude files depending on whether the toolchain could build them.

// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// e32test\device\d_ldd.h
// 
//

#if !defined(__D32LDD_H__)
#define __D32LDD_H__
#include <e32cmn.h>
#ifndef __KERNEL_MODE__
#include <e32std.h>
#endif

_LIT(KLddName,"Test");
_LIT(KKInstallLddName,"TestKInstall");

class TCapsTestV01
	{
public:
	TVersion	iVersion;
	};

class RLddTest : public RBusLogicalChannel
	{
public:
	enum TControl
		{
		EControlTest1=0,
		EControlTest2=1,
		EControlTest3=2,
		EControlTest4=3,
		EControlTest5=4,
		EControlTest6=5,
		EControlTest7=6,
		EControlTest8=7,
		EControlTest9=8,
		EControlTestKInstall=9,
		EControlLinkedTest1=10,
		EControlLinkedTest2=11,
		EControlLinkedTest3=12,
		EControlLinkedTest4=13,
		EControlLinkedTest5=14,
		EControlLinkedTest6=15,
		EControlLinkedTest7=16,
		EControlLinkedTest8=17,
		EControlLinkedTest9=18,
		};
	enum TRequest
		{
		};
public:
	inline TInt Open();
	inline TInt Test1();
	inline TInt Test2();
	inline TInt Test3();
	inline TInt Test4();
	inline TInt Test5();
	inline TInt Test6(TInt aValue);
	inline TUint32 Test7();
	inline void Test8(TUint32 aValue);
	inline TInt Test9();
	inline TInt LinkedTest1();
	inline TInt LinkedTest2();
	inline TInt LinkedTest3();
	inline TInt LinkedTest4();
	inline TInt LinkedTest5();
	inline TInt LinkedTest6(TInt aValue);
	inline TUint32 LinkedTest7();
	inline void LinkedTest8(TUint32 aValue);
	inline TInt LinkedTest9();
	inline TInt TestKInstall();
	static inline TInt UnloadAndWait();
	static inline TInt Unload();
	};

class RKInstallTest : public RBusLogicalChannel
	{
public:
	inline TInt Open();
	};

#include "d_ldd.inl"
#endif