engine/inc/FeedTimer.h
author larspson
Wed, 13 Oct 2010 13:47:30 +0200
branchpodcatcher_qt_symbian4
changeset 229 a12ea4c1b5b6
parent 131 87e863f6f840
permissions -rw-r--r--
Moved def files from engine folder to group folder to comply with qt generation

/*
* 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;
		TTime iTriggerTime;
		CFeedEngine *iFeedEngine;
	};
#endif