You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
366 B

#ifndef CSCI_TIMER_SERVICE_H
#define CSCI_TIMER_SERVICE_H
#include <QObject>
#include <QTimer>
class TimerService : public QObject{
Q_OBJECT
private:
static bool _run;
static int _interval;
static QTimer _timer;
public:
static void start();
static void stop();
static TimerService* getIns();
};
#endif //CSCI_TIMER_SERVICE_H