yes
This commit is contained in:
36
Runtime/Includes/Core/Enums.h
git.filemode.normal_file
36
Runtime/Includes/Core/Enums.h
git.filemode.normal_file
@@ -0,0 +1,36 @@
|
||||
#ifndef __SCOPE_CORE_ENUMS__
|
||||
#define __SCOPE_CORE_ENUMS__
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
namespace Scop
|
||||
{
|
||||
enum class LogType
|
||||
{
|
||||
Debug = 0,
|
||||
Message,
|
||||
Warning,
|
||||
Error,
|
||||
FatalError,
|
||||
|
||||
EndEnum
|
||||
};
|
||||
|
||||
constexpr std::size_t LogTypeCount = static_cast<std::size_t>(LogType::EndEnum);
|
||||
|
||||
enum class Event
|
||||
{
|
||||
SceneHasChangedEventCode,
|
||||
ResizeEventCode,
|
||||
FrameBeginEventCode,
|
||||
FatalErrorEventCode,
|
||||
QuitEventCode,
|
||||
MemoryChunkAllocationFailed,
|
||||
|
||||
EndEnum
|
||||
};
|
||||
|
||||
constexpr std::size_t EventCount = static_cast<std::size_t>(Event::EndEnum);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user