diff options
Diffstat (limited to 'source/cFile.h')
-rw-r--r-- | source/cFile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cFile.h b/source/cFile.h index 0c3abb1d9..9f14c93f6 100644 --- a/source/cFile.h +++ b/source/cFile.h @@ -80,6 +80,9 @@ public: /// Returns the current position (bytes from file start) or -1 for failure; asserts if not open
int Tell (void) const;
+ /// Returns the size of file, in bytes, or -1 for failure; asserts if not open
+ int GetSize(void) const;
+
private:
#ifdef USE_STDIO_FILE
FILE * m_File;
|