summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pc_kbd/pc_kbdc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pc_kbd/pc_kbdc.h')
-rw-r--r--src/devices/bus/pc_kbd/pc_kbdc.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/bus/pc_kbd/pc_kbdc.h b/src/devices/bus/pc_kbd/pc_kbdc.h
index 34161c23c5a..1b4ab50dd56 100644
--- a/src/devices/bus/pc_kbd/pc_kbdc.h
+++ b/src/devices/bus/pc_kbd/pc_kbdc.h
@@ -20,9 +20,11 @@ set the data line and then set the clock line.
// TYPE DEFINITIONS
//**************************************************************************
+class device_pc_kbd_interface;
+
class pc_kbdc_slot_device : public device_t,
- public device_slot_interface
+ public device_single_card_slot_interface<device_pc_kbd_interface>
{
public:
// construction/destruction
@@ -53,8 +55,6 @@ protected:
DECLARE_DEVICE_TYPE(PC_KBDC_SLOT, pc_kbdc_slot_device)
-class device_pc_kbd_interface;
-
class pc_kbdc_device : public device_t
{
public:
@@ -103,7 +103,7 @@ DECLARE_DEVICE_TYPE(PC_KBDC, pc_kbdc_device)
// ======================> device_pc_pbd_interface
-class device_pc_kbd_interface : public device_slot_card_interface
+class device_pc_kbd_interface : public device_interface
{
friend class pc_kbdc_device;
public:
@@ -131,5 +131,4 @@ protected:
};
-
#endif // MAME_BUS_PC_KBD_PC_KBDC_H