diff options
Diffstat (limited to 'src/devices/machine/lpc.h')
-rw-r--r-- | src/devices/machine/lpc.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/devices/machine/lpc.h b/src/devices/machine/lpc.h index 5f1c80ee8a2..5c673f751fc 100644 --- a/src/devices/machine/lpc.h +++ b/src/devices/machine/lpc.h @@ -1,15 +1,18 @@ // license:BSD-3-Clause // copyright-holders:Olivier Galibert -#ifndef LPC_H -#define LPC_H +#ifndef MAME_MACHINE_LPC_H +#define MAME_MACHINE_LPC_H + +#pragma once class lpc_device : public device_t { public: - lpc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source); - virtual void map_device(uint64_t memory_window_start, uint64_t memory_window_end, uint64_t memory_offset, address_space *memory_space, uint64_t io_window_start, uint64_t io_window_end, uint64_t io_offset, address_space *io_space) = 0; + +protected: + using device_t::device_t; }; -#endif +#endif // MAME_MACHINE_LPC_H |