From f6b50d23872302b8e3129bd169201463d326e6fd Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Sat, 2 Feb 2013 19:20:10 +0600 Subject: FileSystem.hxx: add FOpen modes for appending files --- src/fs/FileSystem.hxx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/fs/FileSystem.hxx b/src/fs/FileSystem.hxx index 93365ecb..2e1701c8 100644 --- a/src/fs/FileSystem.hxx +++ b/src/fs/FileSystem.hxx @@ -50,6 +50,16 @@ constexpr Path::const_pointer WriteText = "w"; * Open mode for writing binary files. */ constexpr Path::const_pointer WriteBinary = "wb"; + +/** + * Open mode for appending text files. + */ +constexpr Path::const_pointer AppendText = "a"; + +/** + * Open mode for appending binary files. + */ +constexpr Path::const_pointer AppendBinary = "ab"; } /** -- cgit v1.2.3