Tools/nativelib - Many features implimented
[tpg/acess2.git] / Tools / nativelib / time.c
1 /*
2  * Acess2 DiskTool
3  * - By John Hodge (thePowersGang)
4  * 
5  * time.c
6  * - Timing functions (emulated)
7  */
8 #include <acess.h>
9 #include <timers.h>
10
11 // === CODE ===
12 tTimer *Time_AllocateTimer(tTimerCallback *Callback, void *Argument)
13 {
14         return NULL;
15 }
16
17 void Time_ScheduleTimer(tTimer *Timer, int Delta)
18 {
19         if( !Timer )
20         {
21                 // SIGALRM
22         }
23         else
24         {
25
26         }
27 }
28
29 void Time_RemoveTimer(tTimer *Timer)
30 {
31         
32 }
33
34 void Time_FreeTimer(tTimer *Timer)
35 {
36         
37 }
38
39 Sint64 now(void)
40 {
41         // TODO: Translate UNIX time into Acess time
42         return 0;
43 }
44

UCC git Repository :: git.ucc.asn.au