diff options
Diffstat (limited to 'core/src/Utils/IO/Archive.hpp')
-rw-r--r-- | core/src/Utils/IO/Archive.hpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/core/src/Utils/IO/Archive.hpp b/core/src/Utils/IO/Archive.hpp index 72f79c6..28e7c99 100644 --- a/core/src/Utils/IO/Archive.hpp +++ b/core/src/Utils/IO/Archive.hpp @@ -7,16 +7,8 @@ class DataArchive { -private: - DataStream mStream; - public: - static std::optional<DataArchive> SaveFile(const std::filesystem::path& path); - static std::optional<DataArchive> LoadFile(const std::filesystem::path& path); - - const DataStream& GetStream()const; - DataStream& GetStream(); - -private: - DataArchive(DataStream stream); + // TODO more complete impl + static std::optional<InputDataStream> LoadFile(const std::filesystem::path& path); + static std::optional<OutputDataStream> SaveFile(const std::filesystem::path& path); }; |