#ifndef T2DLL_LPERIODICAL_H #define T2DLL_LPERIODICAL_H #include "../common.h" class AFX_CLASS_EXPORT LPeriodical { public: LPeriodical(); virtual ~LPeriodical(); virtual void StartIdling(); virtual void StopIdling(); static void DevoteTimeToIdlers(); virtual void StartRepeating(); virtual void StopRepeating(); static void DevoteTimeToRepeaters(); static void DeleteIdlerAndRepeaterQueues(); virtual void SpendTime() = 0; protected: static LArray* sIdlerQ; static LArray* sRepeaterQ; }; #endif