sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32test\earlyextension\d_testearlyextension.h sl@0: // sl@0: // sl@0: sl@0: #ifndef __D_TESTEARLYEXTENSION_H__ sl@0: #define __D_TESTEARLYEXTENSION_H__ sl@0: sl@0: #include sl@0: #ifndef __KERNEL_MODE__ sl@0: #include sl@0: #endif sl@0: sl@0: _LIT(KLddName, "D_TESTEARLYEXTENSION.LDD"); sl@0: sl@0: class RLddEarlyExtensionTest : public RBusLogicalChannel sl@0: { sl@0: public: sl@0: enum TControl sl@0: { sl@0: EGET_SYSTEM_TIME_STAMPS = 0, sl@0: }; sl@0: sl@0: public: sl@0: inline TInt Open(); sl@0: inline TInt Test_getSystemTimeStamps(Int64& earlyExtTimeStamp, Int64& extTimeStamp); sl@0: }; sl@0: sl@0: #ifndef __KERNEL_MODE__ sl@0: inline TInt RLddEarlyExtensionTest::Open() sl@0: { return DoCreate(KLddName,TVersion(0,1,1),KNullUnit,NULL, NULL, EOwnerThread); } sl@0: inline TInt RLddEarlyExtensionTest::Test_getSystemTimeStamps(Int64& earlyExtTimeStamp, Int64& extTimeStamp) sl@0: { return DoControl(EGET_SYSTEM_TIME_STAMPS, (TAny *)&earlyExtTimeStamp, (TAny*)&extTimeStamp); } sl@0: #endif sl@0: sl@0: #endif //__D_TESTEARLYEXTENSION_H__ sl@0: sl@0: