aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi/api/timer/osx_timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Wasabi/api/timer/osx_timer.h')
-rw-r--r--Src/Wasabi/api/timer/osx_timer.h17
1 files changed, 17 insertions, 0 deletions
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 <api/timer/api_timer.h>
+
+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