mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-13 02:02:30 +00:00
refactor(profile): profiles are now stored in profile/ subdirectory
This commit is contained in:
parent
1e1f435c5c
commit
c2b96d98b6
100 changed files with 58650 additions and 10 deletions
32
profile/3.3.5a-windows/include/event/timer.h
Normal file
32
profile/3.3.5a-windows/include/event/timer.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#ifndef EVENT_TIMER_H
|
||||
#define EVENT_TIMER_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/queue/timer_priority_uint32_t.h"
|
||||
|
||||
DECLARE_STRUCT(EvtTimer);
|
||||
DECLARE_STRUCT(EvtTimerQueue);
|
||||
|
||||
// class EvtTimer
|
||||
struct EvtTimer {
|
||||
// Member variables
|
||||
uint32_t id;
|
||||
TSTimerPriority_uint32_t targetTime;
|
||||
float timeout;
|
||||
int32_t (*handler)(const void*, void*);
|
||||
void* param;
|
||||
int32_t (*guidHandler)(const void*, uint64_t, void*);
|
||||
uint64_t guidParam;
|
||||
void* guidParam2;
|
||||
};
|
||||
|
||||
STORM_TS_PRIORITY_QUEUE(EvtTimer);
|
||||
STORM_TS_GROWABLE_ARRAY_POINTER_TO(EvtTimer);
|
||||
|
||||
// class EvtTimerQueue : public TSPriorityQueue<EvtTimer>
|
||||
struct EvtTimerQueue {
|
||||
TSPriorityQueue_EvtTimer b_base;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue