summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-22 15:18:39 +0200
committerMattes D <github@xoft.cz>2014-08-22 15:18:39 +0200
commite034b64a5b4aab6f285ba732923cea70dca44d2d (patch)
tree9705effad70cbd41078d7893feda0a0236515581 /src/OSSupport/File.h
parentcMojangAPI updates cRankManager's playernames. (diff)
parentFixed a warning in FastRandom. (diff)
downloadcuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar.gz
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar.bz2
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar.lz
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar.xz
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar.zst
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.zip
Diffstat (limited to 'src/OSSupport/File.h')
-rw-r--r--src/OSSupport/File.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/OSSupport/File.h b/src/OSSupport/File.h
index 2a7ecf0ed..dfb38e839 100644
--- a/src/OSSupport/File.h
+++ b/src/OSSupport/File.h
@@ -60,9 +60,10 @@ public:
/** The mode in which to open the file */
enum eMode
{
- fmRead, // Read-only. If the file doesn't exist, object will not be valid
- fmWrite, // Write-only. If the file already exists, it will be overwritten
- fmReadWrite // Read/write. If the file already exists, it will be left intact; writing will overwrite the data from the beginning
+ fmRead, // Read-only. If the file doesn't exist, object will not be valid
+ fmWrite, // Write-only. If the file already exists, it will be overwritten
+ fmReadWrite, // Read/write. If the file already exists, it will be left intact; writing will overwrite the data from the beginning
+ fmAppend // Write-only. If the file already exists cursor will be moved to the end of the file
} ;
/** Simple constructor - creates an unopened file object, use Open() to open / create a real file */