diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-09 11:22:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-09 11:22:36 +0000 |
commit | 0e419987e48b006104748118fa28161484b7dfa1 (patch) | |
tree | 45c1c1fe81309615e1e6d239183b677be90feb41 /uisimulator/sdl/timefuncs.h | |
parent | d2a10f5676a4ab53aec437bd5976e2aef6bde0a4 (diff) | |
download | rockbox-0e419987e48b006104748118fa28161484b7dfa1.tar.gz rockbox-0e419987e48b006104748118fa28161484b7dfa1.zip |
SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a third
simulator with the hope that once it works fine, we can remove the other two
and only have one unified simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8312 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/timefuncs.h')
-rw-r--r-- | uisimulator/sdl/timefuncs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/uisimulator/sdl/timefuncs.h b/uisimulator/sdl/timefuncs.h new file mode 100644 index 0000000000..de17fcdc73 --- /dev/null +++ b/uisimulator/sdl/timefuncs.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #include <time.h> | ||
2 | #include <stdbool.h> | ||
3 | |||
4 | /* struct tm defined */ | ||
5 | struct tm *get_time(void); | ||
6 | int set_time(const struct tm *tm); | ||
7 | bool valid_time(const struct tm *tm); | ||