| #pragma once | |
| #include <cstdint> | |
| #include <nlohmann/json.hpp> | |
| namespace media_controller | |
| { | |
| // clang-format off | |
| enum class MediaControllerType : std::uint8_t{ | |
| Invalid, | |
| Memory, | |
| }; | |
| NLOHMANN_JSON_SERIALIZE_ENUM(MediaControllerType, { | |
| {MediaControllerType::Invalid, "Invalid"}, | |
| {MediaControllerType::Memory, "Memory"}, | |
| }); | |
| } // namespace media_controller | |
| // clang-format on |