Ged rid of uisimulator/common/io.c for android builds.
commita17a6aafbc6e89ea4c9ff5e34112e864d2fd1fcc
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Wed, 1 Sep 2010 21:29:34 +0000 (1 21:29 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Wed, 1 Sep 2010 21:29:34 +0000 (1 21:29 +0000)
tree69610996dd0a6092459b14e164d4e48e03b1e5bb
parent800c898dc4cd1205876410c9226af3c36fbad9f4
Ged rid of uisimulator/common/io.c for android builds.

Use host's functions for file i/o directly (open(), close() ,etc.), not the sim_* variants.
Some dir functions need to be wrapped still because we need to cache the parents dir's path (host's dirent doesn't let us know).
For the same reason (incompatibility) with host's dirent) detach some members from Rockbox' dirent struct and put it into an extra one,
the values can be retrieved via the new dir_get_info().

Get rid of the sim_ prefix for sleep as well and change the signature to unix sleep().

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27968 a1c6a512-1295-4272-9138-f99709370657
37 files changed:
apps/codecs.c
apps/codecs.h
apps/codecs/sid.c
apps/filetree.c
apps/misc.c
apps/onplay.c
apps/plugin.c
apps/plugin.h
apps/plugins/disktidy.c
apps/plugins/lua/luadir.c
apps/plugins/md5sum.c
apps/plugins/properties.c
apps/plugins/random_folder_advance_config.c
apps/plugins/stats.c
apps/plugins/theme_remove.c
apps/tagcache.c
apps/tagtree.c
firmware/SOURCES
firmware/common/dir_uncached.c
firmware/common/dircache.c
firmware/common/file.c
firmware/common/filefuncs.c
firmware/export/audio.h
firmware/export/config.h
firmware/export/filefuncs.h
firmware/export/kernel.h
firmware/general.c
firmware/include/dir.h
firmware/include/dir_uncached.h
firmware/include/dircache.h
firmware/include/file.h
firmware/kernel.c
firmware/target/hosted/android/dir-target.h [copied from firmware/export/filefuncs.h with 69% similarity]
firmware/target/hosted/android/fs-android.c [new file with mode: 0644]
firmware/target/hosted/android/lc-android.c [copied from firmware/export/filefuncs.h with 70% similarity]
uisimulator/common/SOURCES
uisimulator/common/io.c