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.
16 #if !defined(__D_KERN_MSG_H__)
17 #define __D_KERN_MSG_H__
19 #ifndef __KERNEL_MODE__
23 _LIT(KLddName,"D_KERN_MSG");
29 class TCapsTraceTestV01
35 class RKernMsgTest : public RBusLogicalChannel
41 EControlIsrContextTest
45 #ifndef __KERNEL_MODE__
47 { return DoCreate(KLddName(),TVersion(0,1,1),KNullUnit,NULL,NULL); }
48 // return current Thread ID or error code
49 inline TInt KDebugMsg(const TDesC8& aMsg)
50 { return DoControl(EControlKDebug, (TAny*)&aMsg); }
53 inline TInt IsrContextTest(TInt aMsgNum)
54 { return DoControl(EControlIsrContextTest, (TAny*)aMsgNum); }