os/persistentdata/featuremgmt/featuremgr/engineering/reference_plugins/inc/plugintimer.h
First public contribution.
2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
21 #ifndef __PLUGINTIMER_H_
22 #define __PLUGINTIMER_H_
24 #include <featmgr/featureinfoplugin.h>
27 * An interface for handling timer expiration events.
29 class MPluginTimerCallback
33 * Called when the timer fires
35 virtual void GenericTimerFiredL() = 0;
39 class CPluginTimer : public CTimer
42 CPluginTimer( TInt aPriority,
43 MPluginTimerCallback* aCallback );
47 static CPluginTimer* NewL( const TTimeIntervalMicroSeconds32& anInterval,
48 MPluginTimerCallback* aCallback );
56 MPluginTimerCallback* iCallback; // Not owned
60 #endif // __PLUGINTIMER_H_