Add source code for ctrtool

This commit is contained in:
jakcron
2022-03-12 16:00:33 +08:00
parent 6ad2f13c50
commit 800f5776bc
681 changed files with 219734 additions and 0 deletions
@@ -0,0 +1,23 @@
/**
* @file FileMode.h
* @brief Declaration of tc::io::FileMode
* @author Jack (jakcron)
* @version 0.1
* @date 2020/01/22
**/
#pragma once
namespace tc { namespace io {
/**
* @enum FileAccess
* @brief Defines constants for read, write, or read/write access to a file.
**/
enum class FileAccess
{
Read = 1, /**< Read access to the file. Data can be read from the file. Combine with Write for read/write access. */
Write = 2, /**< Write access to the file. Data can be written to the file. Combine with Read for read/write access. */
ReadWrite = Read|Write /**< Read and write access to the file. Data can be written to and read from the file. */
};
}} // namespace tc::io