2019-06-03 14:50:36 -04:00
|
|
|
//
|
|
|
|
// Target.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 03/06/2019.
|
|
|
|
// Copyright © 2019 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef Analyser_Static_Macintosh_Target_h
|
|
|
|
#define Analyser_Static_Macintosh_Target_h
|
|
|
|
|
2020-03-19 23:24:06 -04:00
|
|
|
#include "../../../Reflection/Enum.hpp"
|
|
|
|
#include "../../../Reflection/Struct.hpp"
|
2020-03-19 21:46:42 -04:00
|
|
|
#include "../StaticAnalyser.hpp"
|
2020-02-17 18:08:46 -05:00
|
|
|
|
2019-06-03 14:50:36 -04:00
|
|
|
namespace Analyser {
|
|
|
|
namespace Static {
|
|
|
|
namespace Macintosh {
|
|
|
|
|
2020-03-15 00:13:38 -04:00
|
|
|
struct Target: public Analyser::Static::Target, public Reflection::StructImpl<Target> {
|
2020-03-11 23:28:38 -04:00
|
|
|
ReflectableEnum(Model, Mac128k, Mac512k, Mac512ke, MacPlus);
|
2020-03-11 23:25:29 -04:00
|
|
|
Model model = Model::MacPlus;
|
2020-02-19 22:26:31 -05:00
|
|
|
|
2020-03-15 00:13:38 -04:00
|
|
|
Target() : Analyser::Static::Target(Machine::Macintosh) {
|
2020-03-09 22:05:31 -04:00
|
|
|
// Boilerplate for declaring fields and potential values.
|
|
|
|
if(needs_declare()) {
|
2020-03-11 23:25:29 -04:00
|
|
|
DeclareField(model);
|
2020-03-11 22:06:16 -04:00
|
|
|
AnnounceEnum(Model);
|
2020-03-09 22:05:31 -04:00
|
|
|
}
|
2020-02-19 22:26:31 -05:00
|
|
|
}
|
2019-06-03 14:50:36 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* Analyser_Static_Macintosh_Target_h */
|