diff -r aa2539c91954 -r 1c2bb2fc7c87 perfsrv/piprofiler/engine/test/piprofilertest/inc/RTestSampler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perfsrv/piprofiler/engine/test/piprofilertest/inc/RTestSampler.h Tue Oct 26 16:20:32 2010 +0300 @@ -0,0 +1,44 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "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: +* +*/ + +#ifndef RTESTSAMPLER_H +#define RTESTSAMPLER_H + +#ifndef __KERNEL_MODE__ +#include +#endif + +#include + +class RtestSampler : public RBusLogicalChannel +{ +public: +#ifndef __KERNEL_MODE__ + inline TInt Open(); +#endif +}; +_LIT(KName,"PIProfilerGeneralsSampler"); + +#ifndef __KERNEL_MODE__ + inline TInt RtestSampler::Open() + { + return DoCreate(KName,TVersion(1,0,1),KNullUnit,NULL,NULL); + } +#endif + + +#endif //RTESTSAMPLER_H