blob: b27eda8042c6b58b4f23d07b692ffea982cb7840 [file] [log] [blame]
#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
namespace trusted_component
{
// clang-format off
enum class TrustedComponentType : std::uint8_t{
Invalid,
Discrete,
Integrated,
};
NLOHMANN_JSON_SERIALIZE_ENUM(TrustedComponentType, {
{TrustedComponentType::Invalid, "Invalid"},
{TrustedComponentType::Discrete, "Discrete"},
{TrustedComponentType::Integrated, "Integrated"},
});
} // namespace trusted_component
// clang-format on