osx_timer.h 336 B

1234567891011121314151617
  1. #ifndef NULLSOFT_WASABI_OSX_TIMER_H
  2. #define NULLSOFT_WASABI_OSX_TIMER_H
  3. #include <api/timer/api_timer.h>
  4. class TimerApi : public timer_apiI
  5. {
  6. public:
  7. TimerApi();
  8. TimerToken timer_add(TimerClient *client, int id, int ms);
  9. void timer_remove(TimerClient *client, TimerToken);
  10. private:
  11. EventLoopRef mainEventLoop;
  12. };
  13. #endif