First public contribution.
1 // Copyright (c) 2007-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\earlyextension\d_testearlyextension.h
18 #ifndef __D_TESTEARLYEXTENSION_H__
19 #define __D_TESTEARLYEXTENSION_H__
22 #ifndef __KERNEL_MODE__
26 _LIT(KLddName, "D_TESTEARLYEXTENSION.LDD");
28 class RLddEarlyExtensionTest : public RBusLogicalChannel
33 EGET_SYSTEM_TIME_STAMPS = 0,
38 inline TInt Test_getSystemTimeStamps(Int64& earlyExtTimeStamp, Int64& extTimeStamp);
41 #ifndef __KERNEL_MODE__
42 inline TInt RLddEarlyExtensionTest::Open()
43 { return DoCreate(KLddName,TVersion(0,1,1),KNullUnit,NULL, NULL, EOwnerThread); }
44 inline TInt RLddEarlyExtensionTest::Test_getSystemTimeStamps(Int64& earlyExtTimeStamp, Int64& extTimeStamp)
45 { return DoControl(EGET_SYSTEM_TIME_STAMPS, (TAny *)&earlyExtTimeStamp, (TAny*)&extTimeStamp); }
48 #endif //__D_TESTEARLYEXTENSION_H__