Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/timer/timerapi.h

22 lines
393 B
C
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
#ifndef __TIMER_SVC_H
#define __TIMER_SVC_H
#include <api/timer/api_timer.h>
#include "tmultiplex.h"
class TimerApi : public timer_api
{
public:
TimerApi();
~TimerApi();
virtual TimerToken timer_add(TimerClient *client, intptr_t id, int ms);
virtual void timer_remove(TimerClient *client, TimerToken token = -1);
protected:
MainTimerMultiplexer multiplex;
RECVS_DISPATCH;
};
#endif