Files
cppcourse/397/Ex21/TimerSet.h
T
2026-10-05 11:27:21 +02:00

24 lines
320 B
C++

#ifndef TIMERSET_H
#define TIMERSET_H
#include <ctime>
class Timer;
class TimerSet {
public:
TimerSet();
void pollAllTimers();
void addATimer(Timer *);
private:
Timer *timers[40];
int timersInUse;
std::time_t previousTime;
};
extern TimerSet theTimerSet;
#endif