[IOFIle] Add constructors

This commit is contained in:
wheremyfoodat 2023-01-16 21:39:12 +02:00
parent b1f2be98fa
commit 902b877c40

View file

@ -22,6 +22,9 @@ class IOFile {
static inline std::filesystem::path appData = ""; // Directory for holding app data. AppData on Windows
public:
IOFile() {}
IOFile(FILE* handle) : handle(handle) {}
bool isOpen() {
return handle != nullptr;
}