1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-10-25 09:27:01 +00:00

Starts a switch to reflectable-style runtime options.

The Amstrad CPC and ZX80/81 have made the jump so far, subject to caveats. The macOS build is unlikely currently to work properly.
This commit is contained in:
Thomas Harte
2020-03-16 23:25:05 -04:00
parent 1d40aa687e
commit 394ee61c78
24 changed files with 163 additions and 141 deletions

View File

@@ -30,7 +30,7 @@ class MultiConfigurable: public Configurable::Device {
// Below is the standard Configurable::Device interface; see there for documentation.
void set_options(const std::unique_ptr<Reflection::Struct> &options) final;
std::unique_ptr<Reflection::Struct> get_options(OptionsType type) final;
std::unique_ptr<Reflection::Struct> get_options() final;
// std::vector<std::unique_ptr<Configurable::Option>> get_options() final;
// void set_selections(const Configurable::SelectionSet &selection_by_option) final;
// Configurable::SelectionSet get_accurate_selections() final;