mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 16:31:31 +00:00
39 lines
785 B
C++
39 lines
785 B
C++
//
|
|
// Oric.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 11/10/2016.
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef Oric_hpp
|
|
#define Oric_hpp
|
|
|
|
#include "../../Configurable/Configurable.hpp"
|
|
#include "../ConfigurationTarget.hpp"
|
|
#include "../CRTMachine.hpp"
|
|
#include "../KeyboardMachine.hpp"
|
|
|
|
namespace Oric {
|
|
|
|
/// @returns The options available for an Oric.
|
|
std::vector<std::unique_ptr<Configurable::Option>> get_options();
|
|
|
|
/*!
|
|
Models an Oric 1/Atmos with or without a Microdisc.
|
|
*/
|
|
class Machine:
|
|
public CRTMachine::Machine,
|
|
public ConfigurationTarget::Machine,
|
|
public KeyboardMachine::Machine,
|
|
public Configurable::Device {
|
|
public:
|
|
virtual ~Machine();
|
|
|
|
/// Creates and returns an Oric.
|
|
static Machine *Oric();
|
|
};
|
|
|
|
}
|
|
#endif /* Oric_hpp */
|