mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 07:06:36 +00:00
Fix up some file handling, add support for initializing a house file
This commit is contained in:
15
GpCommon/GpFileCreationDisposition.h
Normal file
15
GpCommon/GpFileCreationDisposition.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
namespace GpFileCreationDispositions
|
||||
{
|
||||
enum GpFileCreationDisposition
|
||||
{
|
||||
kCreateOrOverwrite, // If exists: Overwrite. If not exists: Create.
|
||||
kCreateNew, // If exists: Fail. If not exists: Create.
|
||||
kCreateOrOpen, // If exists: Open. If not exists: Create.
|
||||
kOpenExisting, // If exists: Open. If not exists: Fail.
|
||||
kOverwriteExisting, // If exists: Overwrite. If not exists: Fail.
|
||||
};
|
||||
}
|
||||
|
||||
typedef GpFileCreationDispositions::GpFileCreationDisposition GpFileCreationDisposition_t;
|
Reference in New Issue
Block a user