Core/Enum: Rename OpenMode_Current to NotOpen

Former-commit-id: f4395871d68d8f6da5ca6dbcda2177ad6aae2fc8
This commit is contained in:
Lynix 2015-11-23 14:15:29 +01:00
parent 7f220ce48c
commit 6829863d81
3 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@ namespace Nz
enum OpenModeFlags
{
OpenMode_Current = 0x00, // Utilise le mode d'ouverture actuel
OpenMode_NotOpen = 0x00, // Utilise le mode d'ouverture actuel
OpenMode_Append = 0x01, // Empêche l'écriture sur la partie déjà existante et met le curseur à la fin
OpenMode_Lock = 0x02, // Empêche le fichier d'être modifié tant qu'il est ouvert

View File

@ -57,8 +57,8 @@ namespace Nz
bool IsOpen() const;
bool Open(unsigned int openMode = OpenMode_Current);
bool Open(const String& filePath, unsigned int openMode = OpenMode_Current);
bool Open(unsigned int openMode = OpenMode_NotOpen);
bool Open(const String& filePath, unsigned int openMode = OpenMode_NotOpen);
bool Rename(const String& newFilePath);

View File

@ -31,7 +31,7 @@
namespace Nz
{
File::File() :
Stream(OpenMode_Current),
Stream(OpenMode_NotOpen),
m_impl(nullptr)
{
}