This commit is contained in:
2025-12-13 02:33:12 -05:00
parent 61275d9e75
commit 4977f4476c
3 changed files with 31 additions and 2 deletions

View File

@@ -14,6 +14,8 @@ namespace anm2ed::util::filesystem
std::filesystem::path path_lower_case_backslash_handle(const std::filesystem::path&);
FILE* open(const std::filesystem::path&, const char*);
class WorkingDirectory
{
public:
@@ -22,4 +24,14 @@ namespace anm2ed::util::filesystem
WorkingDirectory(const std::filesystem::path&, bool = false);
~WorkingDirectory();
};
class File
{
public:
FILE* internal{};
File(const std::filesystem::path&, const char*);
~File();
FILE* get();
};
}