1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-19 08:31:11 +00:00
CLK/Analyser/Static/PCCompatible/Target.hpp
2023-11-29 15:59:42 -05:00

34 lines
741 B
C++

//
// Target.hpp
// Clock Signal
//
// Created by Thomas Harte on 29/11/2023.
// Copyright © 2023 Thomas Harte. All rights reserved.
//
#ifndef Analyser_Static_PCCompatible_Target_h
#define Analyser_Static_PCCompatible_Target_h
#include "../../../Reflection/Struct.hpp"
#include "../StaticAnalyser.hpp"
namespace Analyser::Static::PCCompatible {
struct Target: public Analyser::Static::Target, public Reflection::StructImpl<Target> {
ReflectableEnum(VideoAdaptor,
MDA,
CGA);
VideoAdaptor adaptor = VideoAdaptor::MDA;
Target() : Analyser::Static::Target(Machine::PCCompatible) {
if(needs_declare()) {
DeclareField(adaptor);
AnnounceEnum(VideoAdaptor);
}
}
};
}
#endif /* Analyser_Static_PCCompatible_Target_h */