3 changed files with 9 additions and 1 deletions
@ -1,11 +1,14 @@
|
||||
#pragma once |
||||
|
||||
#include <cstdint> |
||||
#include <fstream> |
||||
#include <memory> |
||||
namespace devilution { |
||||
|
||||
bool FileExists(const char *path); |
||||
bool GetFileSize(const char *path, std::uintmax_t *size); |
||||
bool ResizeFile(const char *path, std::uintmax_t size); |
||||
void RemoveFile(const char *lpFileName); |
||||
std::unique_ptr<std::fstream> CreateFileStream(const char *path, std::ios::openmode mode); |
||||
|
||||
} // namespace devilution
|
||||
|
||||
Loading…
Reference in new issue