diff options
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index e326f6d97..33416a596 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1850,6 +1850,14 @@ class FileReader : public classbase */ void LoadFile(const std::string &filename); + /** Returns the whole content of the file as std::string + */ + std::string Contents(); + + /** Returns the entire size of the file as std::string + */ + unsigned long ContentSize(); + /** Returns true if the file exists * This function will return false if the file could not be opened. */ |