summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vtech/ioexp/printer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vtech/ioexp/printer.h')
-rw-r--r--src/devices/bus/vtech/ioexp/printer.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/vtech/ioexp/printer.h b/src/devices/bus/vtech/ioexp/printer.h
index 37a25a35fad..8a05106bf59 100644
--- a/src/devices/bus/vtech/ioexp/printer.h
+++ b/src/devices/bus/vtech/ioexp/printer.h
@@ -8,10 +8,10 @@
***************************************************************************/
-#pragma once
+#ifndef MAME_BUS_VTECH_IOEXP_PRINTER_H
+#define MAME_BUS_VTECH_IOEXP_PRINTER_H
-#ifndef __VTECH_IOEXP_PRINTER_H__
-#define __VTECH_IOEXP_PRINTER_H__
+#pragma once
#include "ioexp.h"
#include "bus/centronics/ctronics.h"
@@ -23,11 +23,11 @@
// ======================> printer_interface_device
-class printer_interface_device : public device_t, public device_ioexp_interface
+class vtech_printer_interface_device : public device_t, public device_vtech_ioexp_interface
{
public:
// construction/destruction
- printer_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ vtech_printer_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
DECLARE_WRITE_LINE_MEMBER( busy_w );
DECLARE_READ8_MEMBER( busy_r );
@@ -46,6 +46,6 @@ private:
};
// device type definition
-extern const device_type PRINTER_INTERFACE;
+DECLARE_DEVICE_TYPE(VTECH_PRINTER_INTERFACE, vtech_printer_interface_device)
-#endif // __VTECH_IOEXP_PRINTER_H__
+#endif // MAME_BUS_VTECH_IOEXP_PRINTER_H