This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2018-07-19 01:07:11 +00:00
|
|
|
// Copyright 2018 yuzu emulator team
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2020-08-03 11:11:07 +00:00
|
|
|
#include "common/common_funcs.h"
|
2018-07-19 01:07:11 +00:00
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
namespace FileSys {
|
|
|
|
|
|
|
|
enum class Mode : u32 {
|
|
|
|
Read = 1,
|
|
|
|
Write = 2,
|
2020-08-03 11:11:07 +00:00
|
|
|
ReadWrite = Read | Write,
|
2018-07-19 01:07:11 +00:00
|
|
|
Append = 4,
|
2020-08-03 11:11:07 +00:00
|
|
|
WriteAppend = Write | Append,
|
2018-07-19 01:07:11 +00:00
|
|
|
};
|
|
|
|
|
2020-08-03 11:11:07 +00:00
|
|
|
DECLARE_ENUM_FLAG_OPERATORS(Mode)
|
2018-07-24 02:40:35 +00:00
|
|
|
|
2018-07-19 01:07:11 +00:00
|
|
|
} // namespace FileSys
|