// ====================================================================== // \title Os/Posix/DefaultFile.cpp // \brief sets default Os::File to posix implementation via linker // ====================================================================== #include "Os/Delegate.hpp" #include "Os/Directory.hpp" #include "Os/File.hpp" #include "Os/FileSystem.hpp" #include "Os/Posix/Directory.hpp" #include "Os/Posix/File.hpp" #include "Os/Posix/FileSystem.hpp" namespace Os { FileInterface* FileInterface::getDelegate(FileHandleStorage& aligned_new_memory, const FileInterface* to_copy) { return Os::Delegate::makeDelegate(aligned_new_memory, to_copy); } FileSystemInterface* FileSystemInterface::getDelegate(FileSystemHandleStorage& aligned_new_memory) { return Os::Delegate::makeDelegate(aligned_new_memory); } DirectoryInterface* DirectoryInterface::getDelegate(DirectoryHandleStorage& aligned_new_memory) { return Os::Delegate::makeDelegate(aligned_new_memory); } } // namespace Os