Move most platform-specific code into overlay directories
authorMikko Rasa <tdb@tdb.fi>
Wed, 24 Apr 2013 13:22:18 +0000 (16:22 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 24 Apr 2013 13:22:18 +0000 (16:22 +0300)
commit609c9a508cfdc7b42c46c4f21d17639204165a00
treedb84b825d31d1c2ef7a1cab46345bbd5f5266984
parentb4806214e905752617691f851717033fd3f266c2
Move most platform-specific code into overlay directories

A few things, in particular FS::Path, were not trivial to split.  I'm not
certain what to do with features like zlib either.
90 files changed:
Build
source/core/application.cpp
source/core/application.h
source/core/main.cpp [deleted file]
source/core/mutex.cpp [deleted file]
source/core/mutex_private.h
source/core/semaphore.cpp [deleted file]
source/core/systemerror.cpp
source/core/thread.cpp
source/core/thread.h
source/core/thread_private.h [new file with mode: 0644]
source/core/unix/application.cpp [new file with mode: 0644]
source/core/unix/main.cpp [new file with mode: 0644]
source/core/unix/mutex.cpp [new file with mode: 0644]
source/core/unix/mutex_platform.h [new file with mode: 0644]
source/core/unix/semaphore.cpp [new file with mode: 0644]
source/core/unix/systemerror.cpp [new file with mode: 0644]
source/core/unix/thread.cpp [new file with mode: 0644]
source/core/unix/thread_platform.h [new file with mode: 0644]
source/core/windows/application.cpp [new file with mode: 0644]
source/core/windows/main.cpp [new file with mode: 0644]
source/core/windows/mutex.cpp [new file with mode: 0644]
source/core/windows/mutex_platform.h [new file with mode: 0644]
source/core/windows/semaphore.cpp [new file with mode: 0644]
source/core/windows/systemerror.cpp [new file with mode: 0644]
source/core/windows/thread.cpp [new file with mode: 0644]
source/core/windows/thread_platform.h [new file with mode: 0644]
source/fs/dir.cpp
source/fs/stat.cpp
source/fs/stat_private.h [new file with mode: 0644]
source/fs/unix/dir.cpp [new file with mode: 0644]
source/fs/unix/stat.cpp [new file with mode: 0644]
source/fs/unix/stat_platform.h [new file with mode: 0644]
source/fs/unix/utils.cpp [new file with mode: 0644]
source/fs/utils.cpp
source/fs/windows/dir.cpp [new file with mode: 0644]
source/fs/windows/stat.cpp [new file with mode: 0644]
source/fs/windows/stat_platform.h [new file with mode: 0644]
source/fs/windows/utils.cpp [new file with mode: 0644]
source/io/console.cpp
source/io/console.h
source/io/eventreader.cpp [deleted file]
source/io/file.cpp
source/io/file.h
source/io/handle.cpp
source/io/handle.h
source/io/handle_private.h
source/io/pipe.cpp
source/io/pipe.h
source/io/poll.cpp
source/io/poll.h
source/io/seekable.cpp
source/io/serial.cpp
source/io/serial.h
source/io/serial_private.h [new file with mode: 0644]
source/io/unix/console.cpp [new file with mode: 0644]
source/io/unix/eventreader.cpp [new file with mode: 0644]
source/io/unix/file.cpp [new file with mode: 0644]
source/io/unix/handle.cpp [new file with mode: 0644]
source/io/unix/handle_platform.h [new file with mode: 0644]
source/io/unix/pipe.cpp [new file with mode: 0644]
source/io/unix/poll.cpp [new file with mode: 0644]
source/io/unix/poll_platform.h [new file with mode: 0644]
source/io/unix/seekable.cpp [new file with mode: 0644]
source/io/unix/serial.cpp [new file with mode: 0644]
source/io/unix/serial_platform.h [new file with mode: 0644]
source/io/windows/console.cpp [new file with mode: 0644]
source/io/windows/eventreader.cpp [new file with mode: 0644]
source/io/windows/file.cpp [new file with mode: 0644]
source/io/windows/handle.cpp [new file with mode: 0644]
source/io/windows/handle_platform.h [new file with mode: 0644]
source/io/windows/pipe.cpp [new file with mode: 0644]
source/io/windows/poll.cpp [new file with mode: 0644]
source/io/windows/poll_platform.h [new file with mode: 0644]
source/io/windows/seekable.cpp [new file with mode: 0644]
source/io/windows/serial.cpp [new file with mode: 0644]
source/io/windows/serial_platform.h [new file with mode: 0644]
source/time/rawtime.cpp [deleted file]
source/time/rawtime_private.h
source/time/timezone.cpp
source/time/timezone.h
source/time/unix/rawtime.cpp [new file with mode: 0644]
source/time/unix/rawtime_platform.h [new file with mode: 0644]
source/time/unix/timezone.cpp [new file with mode: 0644]
source/time/unix/utils.cpp [new file with mode: 0644]
source/time/utils.cpp
source/time/windows/rawtime.cpp [new file with mode: 0644]
source/time/windows/rawtime_platform.h [new file with mode: 0644]
source/time/windows/timezone.cpp [new file with mode: 0644]
source/time/windows/utils.cpp [new file with mode: 0644]