Added File:isOpen

This commit is contained in:
Alex Szpakowski
2013-06-27 02:23:56 -03:00
parent 80122d67e6
commit 186bcae7cb
5 changed files with 24 additions and 4 deletions
+2 -1
View File
@@ -68,6 +68,7 @@ public:
// Implements love::filesystem::File.
bool open(Mode mode);
bool close();
bool isOpen() const;
int64 getSize();
FileData *read(int64 size = ALL);
int64 read(void *dst, int64 size);
@@ -76,7 +77,7 @@ public:
bool eof();
int64 tell();
bool seek(uint64 pos);
Mode getMode();
Mode getMode() const;
std::string getFilename() const;
std::string getExtension() const;