diff -r 000000000000 -r ba25891c3a9e installationservices/swi/test/tasynccancel/delaytimer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/installationservices/swi/test/tasynccancel/delaytimer.h Thu Dec 17 08:51:10 2009 +0200 @@ -0,0 +1,42 @@ +/* +* 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 the License "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: +* +*/ + + +/** + @test + @internalComponent +*/ +#include "common.h" + +// This class might be used in the program in order to provide delays +// between some stages of its execution +class CDelayTimer : public CTimer + { + public: + CDelayTimer(); + virtual ~CDelayTimer(); + void ConstructL() + { + CTimer::ConstructL(); + } + void RunL() + { + CActiveScheduler::Stop(); + } + }; + +// End of file