mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-09 17:06:12 +00:00
31 lines
584 B
C++
31 lines
584 B
C++
//
|
|
// CRTMachine.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 31/05/2016.
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef CRTMachine_hpp
|
|
#define CRTMachine_hpp
|
|
|
|
#include "../Outputs/CRT/CRT.hpp"
|
|
#include "../Outputs/Speaker.hpp"
|
|
|
|
namespace CRTMachine {
|
|
|
|
class Machine {
|
|
public:
|
|
virtual void setup_output(float aspect_ratio) = 0;
|
|
virtual void close_output() = 0;
|
|
|
|
virtual Outputs::CRT::CRT *get_crt() = 0;
|
|
virtual Outputs::Speaker *get_speaker() = 0;
|
|
|
|
virtual void run_for_cycles(int number_of_cycles) = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* CRTMachine_hpp */
|