From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Wasabi/api/timer/osx_timer.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Src/Wasabi/api/timer/osx_timer.h (limited to 'Src/Wasabi/api/timer/osx_timer.h') diff --git a/Src/Wasabi/api/timer/osx_timer.h b/Src/Wasabi/api/timer/osx_timer.h new file mode 100644 index 00000000..9084ef3a --- /dev/null +++ b/Src/Wasabi/api/timer/osx_timer.h @@ -0,0 +1,17 @@ +#ifndef NULLSOFT_WASABI_OSX_TIMER_H +#define NULLSOFT_WASABI_OSX_TIMER_H + +#include + +class TimerApi : public timer_apiI +{ +public: + TimerApi(); + TimerToken timer_add(TimerClient *client, int id, int ms); + void timer_remove(TimerClient *client, TimerToken); +private: + EventLoopRef mainEventLoop; +}; + + +#endif \ No newline at end of file -- cgit