Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
21
Src/timer/timerapi.h
Normal file
21
Src/timer/timerapi.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue