diff options
Diffstat (limited to 'src/devices/bus/pofo/hpc101.h')
-rw-r--r-- | src/devices/bus/pofo/hpc101.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/devices/bus/pofo/hpc101.h b/src/devices/bus/pofo/hpc101.h index 9a700be92b9..f5cc803b5bb 100644 --- a/src/devices/bus/pofo/hpc101.h +++ b/src/devices/bus/pofo/hpc101.h @@ -6,10 +6,10 @@ **********************************************************************/ -#pragma once +#ifndef MAME_BUS_POFO_HPC101_H +#define MAME_BUS_POFO_HPC101_H -#ifndef __HPC101__ -#define __HPC101__ +#pragma once #include "exp.h" #include "bus/centronics/ctronics.h" @@ -21,14 +21,13 @@ // TYPE DEFINITIONS //************************************************************************** -// ======================> hpc101_t +// ======================> pofo_hpc101_device -class hpc101_t : public device_t, - public device_portfolio_expansion_slot_interface +class pofo_hpc101_device : public device_t, public device_portfolio_expansion_slot_interface { public: // construction/destruction - hpc101_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + pofo_hpc101_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -50,8 +49,6 @@ private: // device type definition -extern const device_type HPC101; - - +DECLARE_DEVICE_TYPE(POFO_HPC101, pofo_hpc101_device) -#endif +#endif // MAME_BUS_POFO_HPC101_H |