mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-13 00:29:14 +00:00
31 lines
626 B
C++
31 lines
626 B
C++
//
|
|
// MediaTarget.h
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 08/09/2016.
|
|
// Copyright 2016 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include "../Analyser/Static/StaticAnalyser.hpp"
|
|
#include "../Configurable/Configurable.hpp"
|
|
|
|
#include <string>
|
|
|
|
namespace MachineTypes {
|
|
|
|
/*!
|
|
A MediaTarget::Machine is anything that can accept new media while running.
|
|
*/
|
|
struct MediaTarget {
|
|
/*!
|
|
Requests that the machine insert @c media as a modification to current state
|
|
|
|
@returns @c true if any media was inserted; @c false otherwise.
|
|
*/
|
|
virtual bool insert_media(const Analyser::Static::Media &) = 0;
|
|
};
|
|
|
|
}
|