From 7fe47a9d5b1727a61dc724523b530762f6d6ba19 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Thu, 30 Jun 2022 21:38:53 -0700 Subject: Restructure project --- app/source/Cplt/Utils/IO/Archive.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/source/Cplt/Utils/IO/Archive.hpp (limited to 'app/source/Cplt/Utils/IO/Archive.hpp') diff --git a/app/source/Cplt/Utils/IO/Archive.hpp b/app/source/Cplt/Utils/IO/Archive.hpp new file mode 100644 index 0000000..7632f3b --- /dev/null +++ b/app/source/Cplt/Utils/IO/Archive.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include + +#include +#include +#include +#include + +class DataArchive +{ +public: + static std::span GetMagicNumbers(); + + // TODO more complete impl + static std::optional LoadFile(const std::filesystem::path& path); + static std::optional SaveFile(const std::filesystem::path& path); +}; -- cgit v1.2.3-70-g09d2