diff options
author | madmaxoft <github@xoft.cz> | 2014-08-12 22:43:04 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-08-12 22:43:04 +0200 |
commit | 10e58f04da038a28626fee90d278c703d55f72b6 (patch) | |
tree | fb081bf2edbeaf894bb6be2e8d807348039ec7f0 /src/OSSupport/File.h | |
parent | Fix messing rename (diff) | |
download | cuberite-10e58f04da038a28626fee90d278c703d55f72b6.tar cuberite-10e58f04da038a28626fee90d278c703d55f72b6.tar.gz cuberite-10e58f04da038a28626fee90d278c703d55f72b6.tar.bz2 cuberite-10e58f04da038a28626fee90d278c703d55f72b6.tar.lz cuberite-10e58f04da038a28626fee90d278c703d55f72b6.tar.xz cuberite-10e58f04da038a28626fee90d278c703d55f72b6.tar.zst cuberite-10e58f04da038a28626fee90d278c703d55f72b6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/OSSupport/File.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/OSSupport/File.h b/src/OSSupport/File.h index 8891511c4..dfb38e839 100644 --- a/src/OSSupport/File.h +++ b/src/OSSupport/File.h @@ -60,10 +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 - fmAppend // Write-only. If the file already exists cursor will be moved to the end of the file + 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 */ |