diff --git a/include/io_file.hpp b/include/io_file.hpp index 9a26a240..58618db1 100644 --- a/include/io_file.hpp +++ b/include/io_file.hpp @@ -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; }