diff options
Diffstat (limited to 'src/devices/bus/hp_hil/hlekbd.h')
-rw-r--r-- | src/devices/bus/hp_hil/hlekbd.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/bus/hp_hil/hlekbd.h b/src/devices/bus/hp_hil/hlekbd.h index 5b72367f010..3c7f3fdda8c 100644 --- a/src/devices/bus/hp_hil/hlekbd.h +++ b/src/devices/bus/hp_hil/hlekbd.h @@ -9,21 +9,19 @@ #include "machine/keyboard.h" -extern device_type const HP_IPC_HLE_KEYBOARD; - - namespace bus { namespace hp_hil { + class hle_device_base : public device_t , public device_hp_hil_interface , protected device_matrix_keyboard_interface<15U> { public: + virtual ~hle_device_base() override; protected: // constructor/destructor - hle_device_base(machine_config const &mconfig, device_type type, char const *name, char const *tag, device_t *owner, uint32_t clock, char const *shortname, char const *source); - virtual ~hle_device_base() override; + hle_device_base(machine_config const &mconfig, device_type type, char const *tag, device_t *owner, uint32_t clock); // device overrides virtual void device_start() override; @@ -57,4 +55,7 @@ public: } } // namespace bus::hp_hil + +DECLARE_DEVICE_TYPE_NS(HP_IPC_HLE_KEYBOARD, bus::hp_hil, hle_hp_ipc_device); + #endif // MAME_DEVICES_HP_HIL_HLEKBD_H |