/* Starshatter: The Open Source Project Copyright (c) 2021-2024, Starshatter: The Open Source Project Contributors Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors Copyright (c) 1997-2006, Destroyer Studios LLC. */ #include #include #include #include #include "reader/file.h" namespace starshatter { namespace foundation { namespace data { bool toggle_filesystem(bool) { return true; } Reader open(const char* pathname) { return {std::make_unique(std::fstream(pathname, std::ios::binary | std::ios::in))}; } } // namespace data } // namespace foundation } // namespace starshatter