_wfopen -> xe::filesystem::OpenFile.

Progress on #305.
This commit is contained in:
Ben Vanik
2015-06-28 17:16:44 -07:00
parent 1d7606097a
commit 1106029afc
9 changed files with 28 additions and 14 deletions

View File

@@ -19,12 +19,16 @@
namespace xe {
namespace filesystem {
std::string CanonicalizePath(const std::string& original_path);
bool PathExists(const std::wstring& path);
bool CreateFolder(const std::wstring& path);
bool DeleteFolder(const std::wstring& path);
bool IsFolder(const std::wstring& path);
FILE* OpenFile(const std::wstring& path, const char* mode);
struct FileInfo {
enum class Type {
kFile,
@@ -39,8 +43,6 @@ struct FileInfo {
};
std::vector<FileInfo> ListFiles(const std::wstring& path);
std::string CanonicalizePath(const std::string& original_path);
class WildcardFlags {
public:
bool FromStart : 1, ToEnd : 1;