mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-03-01 07:50:25 +01:00
21 lines
442 B
C++
21 lines
442 B
C++
#pragma once
|
|
|
|
#include <variant>
|
|
|
|
#include <toml++/toml.h>
|
|
|
|
namespace linear_view {
|
|
namespace mode {
|
|
struct Beats {};
|
|
struct Waveform {};
|
|
}
|
|
|
|
using Mode = std::variant<mode::Beats, mode::Waveform>;
|
|
|
|
namespace mode {
|
|
Mode load_from_v1_0_0_table(const toml::table& linear_view);
|
|
void dump_as_v1_0_0(const Mode& mode, toml::table& linear_view);
|
|
}
|
|
|
|
const Mode default_mode = mode::Beats{};
|
|
} |