mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 16:59:02 +00:00
Add source code for ctrtool
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* @file ResourceStatus.h
|
||||
* @brief Declaration of tc::ResourceStatus
|
||||
* @author Jack (jakcron)
|
||||
* @version 0.1
|
||||
* @date 2019/01/16
|
||||
**/
|
||||
#pragma once
|
||||
#include <bitset>
|
||||
|
||||
namespace tc {
|
||||
|
||||
/**
|
||||
* @enum ResourceStatusFlag
|
||||
* @brief Flags for ResourceStatus
|
||||
**/
|
||||
enum ResourceStatusFlag
|
||||
{
|
||||
RESFLAG_READY, /**< Resource is ready for use */
|
||||
RESFLAG_ERROR, /**< Resource encountered an error */
|
||||
RESFLAG_NOINIT, /**< Resource is not initialized */
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Bitset indicating resource state information (see @ref ResourceStatusFlag)
|
||||
**/
|
||||
using ResourceStatus = std::bitset<32>;
|
||||
|
||||
} // namespace tc
|
||||
Reference in New Issue
Block a user