annotate osdep/timer.h @ 10607:a17ebe817e33
Fixed a long standing issue: if configured a not available (not existing, permission denied, ...) skin, the gui never ever started again. Now it reverts to 'default' if it can't open the selected skin, if 'default' fails too, the gui exits with error.
author |
alex |
date |
Thu, 14 Aug 2003 01:54:27 +0000 |
parents |
edfe34c5405d |
children |
f9755d9c479a |
rev |
line source |
4863
|
1 #ifndef __TIMER_H
|
|
2 #define __TIMER_H
|
1
|
3
|
|
4 void InitTimer();
|
99
|
5 unsigned int GetTimer();
|
4385
|
6 unsigned int GetTimerMS();
|
1
|
7 //int uGetTimer();
|
|
8 float GetRelativeTime();
|
|
9
|
2266
|
10 int usec_sleep(int usec_delay);
|
|
11
|
4863
|
12 /* timer's callback handling */
|
|
13 typedef void timer_callback( void );
|
|
14 extern unsigned set_timer_callback(unsigned ms,timer_callback func);
|
|
15 extern void restore_timer(void);
|
|
16
|
|
17 #endif
|