mirror of
https://github.com/holub/mame
synced 2025-04-29 03:20:50 +03:00

* move rarely-used output and pty interfaces out of emu.h * consolidate and de-duplicate forward declarations, also remove some obsolete ones * clean up more #include guard macros * scope down a few more things (nw) Everyone, please keep forward declarations for src/emu in src/emu/emufwd.h - this will make it far easier to keep them in sync with declarations than having them scattered through all the other files.
34 lines
857 B
C++
34 lines
857 B
C++
// license:BSD-3-Clause
|
|
// copyright-holders:Carl
|
|
/***************************************************************************
|
|
|
|
network.h
|
|
|
|
Core network interface functions and definitions.
|
|
***************************************************************************/
|
|
|
|
#ifndef MAME_EMU_NETWORK_H
|
|
#define MAME_EMU_NETWORK_H
|
|
|
|
#pragma once
|
|
|
|
// ======================> network_manager
|
|
|
|
class network_manager
|
|
{
|
|
public:
|
|
// construction/destruction
|
|
network_manager(running_machine &machine);
|
|
|
|
// getters
|
|
running_machine &machine() const { return m_machine; }
|
|
private:
|
|
void config_load(config_type cfg_type, util::xml::data_node const *parentnode);
|
|
void config_save(config_type cfg_type, util::xml::data_node *parentnode);
|
|
|
|
// internal state
|
|
running_machine & m_machine; // reference to our machine
|
|
};
|
|
|
|
#endif // MAME_EMU_NETWORK_H
|