mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-09-03 16:15:44 +00:00
[IOFIle] Add constructors
This commit is contained in:
parent
b1f2be98fa
commit
902b877c40
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ class IOFile {
|
||||||
static inline std::filesystem::path appData = ""; // Directory for holding app data. AppData on Windows
|
static inline std::filesystem::path appData = ""; // Directory for holding app data. AppData on Windows
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
IOFile() {}
|
||||||
|
IOFile(FILE* handle) : handle(handle) {}
|
||||||
|
|
||||||
bool isOpen() {
|
bool isOpen() {
|
||||||
return handle != nullptr;
|
return handle != nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue