blob: f3461d3e1f603b7f27ec2255bf2328be76e82b66 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic
/*
* outpout_module.h
*
*/
#ifndef OUTPUT_MODULE_H_
#define OUTPUT_MODULE_H_
#include "osdepend.h"
#include "modules/osdmodule.h"
//============================================================
// CONSTANTS
//============================================================
#define OSD_OUTPUT_PROVIDER "output"
class output_module
{
public:
output_module(): m_machine(nullptr) { }
virtual ~output_module() { }
virtual void notify(const char *outname, INT32 value) = 0;
void set_machine(running_machine *machine) { m_machine = machine; };
running_machine &machine() const { return *m_machine; }
private:
running_machine *m_machine;
};
#endif /* OUTPUT_MODULE_H_ */
|