engine/inc/FeedTimer.h
author Brendan Donegan <brendand@symbian.org>
Mon, 08 Mar 2010 09:46:42 +0000
branchSymbian3
changeset 37 1644b7cd063e
parent 2 29cda98b007e
child 129 7ef9faf10a81
permissions -rw-r--r--
Create Symbian3 branch with updates for SBSv2

/*
* Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB
*
* 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:
* EmbedDev AB - initial contribution.
*
* Contributors:
*
* Description:
*
*/

#ifndef FEEDTIMER_H
#define FEEDTIMER_H

#include <e32base.h>

class CFeedEngine;

class CFeedTimer : public CTimer 
	{
	public:
		CFeedTimer(CFeedEngine *aFeedEngine);
		~CFeedTimer();
		void ConstructL();
		void RunL();
		void RunPeriodically();
		void SetPeriod(TInt aPeriodMinutes);
		void SetSyncTime(TTime aTime);
	
	private:
		TInt iPeriodMinutes;
		CFeedEngine *iFeedEngine;
	};
#endif