// // AtariST.hpp // Clock Signal // // Created by Thomas Harte on 03/10/2019. // Copyright © 2019 Thomas Harte. All rights reserved. // #pragma once #include "../../../Configurable/Configurable.hpp" #include "../../../Configurable/StandardOptions.hpp" #include "../../../Analyser/Static/StaticAnalyser.hpp" #include "../../ROMMachine.hpp" #include namespace Atari::ST { class Machine { public: virtual ~Machine(); static std::unique_ptr AtariST(const Analyser::Static::Target *target, const ROMMachine::ROMFetcher &rom_fetcher); class Options: public Reflection::StructImpl, public Configurable::DisplayOption { friend Configurable::DisplayOption; public: Options(Configurable::OptionsType type) : Configurable::DisplayOption( type == Configurable::OptionsType::UserFriendly ? Configurable::Display::RGB : Configurable::Display::CompositeColour) { if(needs_declare()) { declare_display_option(); limit_enum(&output, Configurable::Display::RGB, Configurable::Display::CompositeColour, -1); } } }; }; }