summaryrefslogtreecommitdiffstats
path: root/source/cFile.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cFile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cFile.h b/source/cFile.h
index 390847eaf..567c98219 100644
--- a/source/cFile.h
+++ b/source/cFile.h
@@ -86,6 +86,9 @@ public:
/// Reads the file from current position till EOF into an AString; returns the number of bytes read or -1 for error
int ReadRestOfFile(AString & a_Contents);
+ /// Returns true if the file specified exists
+ static bool Exists(const AString & a_FileName);
+
private:
#ifdef USE_STDIO_FILE
FILE * m_File;