diff -r f0f2b8682603 -r 3ff3fecb12fe sysanadatacapture/piprofiler/piprofiler_api/inc/PluginDriver.inl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysanadatacapture/piprofiler/piprofiler_api/inc/PluginDriver.inl Thu Feb 11 15:52:57 2010 +0200 @@ -0,0 +1,77 @@ +/* +* 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: +* +*/ + + +// +// LDD for thread time profiling +// + +#include +#include + + +#include +#include + +#include + + +/* + * + * + * Class DPluginDriver implementation + * + * + */ +inline DPluginDriver::DPluginDriver() //: iSubsRequest(&HandleSubsComplete, this) + { + //iClientProcess = &Kern::CurrentProcess(); + } +inline DPluginDriver::~DPluginDriver() + { + + } + +/* + * Methods for controlling stream read option + */ + +inline TInt DPluginDriver::ProcessStreamReadCancel() +{ + return KErrNone; +} + +/* + * Mark traces active or inactive, this can be done + * only if sampling is not running + */ + +inline TInt DPluginDriver::StopSampling() +{ + if(this->iState == ERunning) + { + this->iState = EStopping; + return KErrNone; + } + else + { + return KErrGeneral; + } +} + + +