summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/output/none.cpp
blob: 82f0958698fc89d5368f4292de4ec02c05f25654 (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
36
37
38
39
40
// license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic
/***************************************************************************

    none.cpp

    Dummy output interface.

***************************************************************************/

#include "output_module.h"

#include "modules/osdmodule.h"

namespace osd {

namespace {

class output_none : public osd_module, public output_module
{
public:
	output_none() : osd_module(OSD_OUTPUT_PROVIDER, "none")
	{
	}
	virtual ~output_none() { }

	virtual int init(osd_interface &osd, const osd_options &options) override { return 0; }
	virtual void exit() override { }

	// output_module

	virtual void notify(const char *outname, int32_t value) override { }

};

} // anonymous namespace

} // namespace osd

MODULE_DEFINITION(OUTPUT_NONE, osd::output_none)