2019-06-03 18:50:36 +00:00
|
|
|
//
|
|
|
|
// Target.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 03/06/2019.
|
|
|
|
// Copyright © 2019 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2024-01-17 04:34:46 +00:00
|
|
|
#pragma once
|
2019-06-03 18:50:36 +00:00
|
|
|
|
2020-03-20 03:24:06 +00:00
|
|
|
#include "../../../Reflection/Enum.hpp"
|
|
|
|
#include "../../../Reflection/Struct.hpp"
|
2020-03-20 01:46:42 +00:00
|
|
|
#include "../StaticAnalyser.hpp"
|
2020-02-17 23:08:46 +00:00
|
|
|
|
2023-05-10 21:02:18 +00:00
|
|
|
namespace Analyser::Static::Macintosh {
|
2019-06-03 18:50:36 +00:00
|
|
|
|
2020-03-15 04:13:38 +00:00
|
|
|
struct Target: public Analyser::Static::Target, public Reflection::StructImpl<Target> {
|
2020-03-12 03:28:38 +00:00
|
|
|
ReflectableEnum(Model, Mac128k, Mac512k, Mac512ke, MacPlus);
|
2020-03-12 03:25:29 +00:00
|
|
|
Model model = Model::MacPlus;
|
2020-02-20 03:26:31 +00:00
|
|
|
|
2024-12-07 16:15:38 +00:00
|
|
|
Target() : Analyser::Static::Target(Machine::Macintosh) {}
|
|
|
|
|
|
|
|
private:
|
|
|
|
friend Reflection::StructImpl<Target>;
|
|
|
|
void declare_fields() {
|
|
|
|
DeclareField(model);
|
|
|
|
AnnounceEnum(Model);
|
2020-02-20 03:26:31 +00:00
|
|
|
}
|
2019-06-03 18:50:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|