diff options
Diffstat (limited to 'src/devices/bus/pc_kbd/pcat84.h')
-rw-r--r-- | src/devices/bus/pc_kbd/pcat84.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/devices/bus/pc_kbd/pcat84.h b/src/devices/bus/pc_kbd/pcat84.h index 98b3bb628f1..e15d5624af1 100644 --- a/src/devices/bus/pc_kbd/pcat84.h +++ b/src/devices/bus/pc_kbd/pcat84.h @@ -6,10 +6,10 @@ *********************************************************************/ -#pragma once +#ifndef MAME_BUS_PC_KBD_PCAT84_H +#define MAME_BUS_PC_KBD_PCAT84_H -#ifndef __PC_KBD_IBM_PC_AT_84__ -#define __PC_KBD_IBM_PC_AT_84__ +#pragma once #include "cpu/mcs48/mcs48.h" #include "pc_kbdc.h" @@ -28,7 +28,6 @@ class ibm_pc_at_84_keyboard_device : public device_t, { public: // construction/destruction - ibm_pc_at_84_keyboard_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); ibm_pc_at_84_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // optional information overrides @@ -45,6 +44,8 @@ public: DECLARE_READ_LINE_MEMBER( t1_r ); protected: + ibm_pc_at_84_keyboard_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + // device-level overrides virtual void device_start() override; virtual void device_reset() override; @@ -90,9 +91,7 @@ public: // device type definition -extern const device_type PC_KBD_IBM_PC_AT_84; -extern const device_type PC_KBD_IBM_3270PC_122; - - +DECLARE_DEVICE_TYPE(PC_KBD_IBM_PC_AT_84, ibm_pc_at_84_keyboard_device) +DECLARE_DEVICE_TYPE(PC_KBD_IBM_3270PC_122, ibm_3270pc_122_keyboard_device) -#endif +#endif // MAME_BUS_PC_KBD_PCAT84_H |