From cd3386a73371e041fe7f392c8fbb890d25c670f2 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Sat, 25 Sep 2021 21:22:27 +0200 Subject: Removed some unnecessary filesystem wrapper functions which accepted wchar* arguments Also moved some platform specific functionality into Windows conditional sections --- zencore/include/zencore/filesystem.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'zencore/include') diff --git a/zencore/include/zencore/filesystem.h b/zencore/include/zencore/filesystem.h index a2d368d6f..16d6ede53 100644 --- a/zencore/include/zencore/filesystem.h +++ b/zencore/include/zencore/filesystem.h @@ -14,19 +14,16 @@ class IoBuffer; /** Delete directory (after deleting any contents) */ -ZENCORE_API bool DeleteDirectories(const wchar_t* dir); ZENCORE_API bool DeleteDirectories(const std::filesystem::path& dir); /** Ensure directory exists. Will also create any required parent directories */ -ZENCORE_API bool CreateDirectories(const wchar_t* dir); ZENCORE_API bool CreateDirectories(const std::filesystem::path& dir); /** Ensure directory exists and delete contents (if any) before returning */ -ZENCORE_API bool CleanDirectory(const wchar_t* dir); ZENCORE_API bool CleanDirectory(const std::filesystem::path& dir); /** Map native file handle to a path -- cgit v1.2.3