summaryrefslogtreecommitdiffstats
path: root/src/emu/main.cpp
blob: 8d2ed5778f98d26a03fce111eda3e3842a1b9241 (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
// license:BSD-3-Clause
// copyright-holders:Nicola Salmoria, Aaron Giles
/***************************************************************************

    main.cpp

    Controls execution of the core MAME system.

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

#include "emu.h"
#include "emuopts.h"
#include "http.h"

machine_manager::machine_manager(emu_options& options, osd_interface& osd)
	: m_osd(osd),
	m_options(options),
	m_machine(nullptr)
{
}

machine_manager::~machine_manager()
{
}
#if 0
void machine_manager::start_http_server()
{
	m_http = std::make_unique<http_manager>(options().http(), options().http_port(), options().http_root());
}

http_manager *machine_manager::http()
{
	return m_http.get();
}
#endif