summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ql/qubide.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ql/qubide.h')
-rw-r--r--src/devices/bus/ql/qubide.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/devices/bus/ql/qubide.h b/src/devices/bus/ql/qubide.h
index 9ebbdaa95e5..2dd652d58a9 100644
--- a/src/devices/bus/ql/qubide.h
+++ b/src/devices/bus/ql/qubide.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_QL_QUBIDE_H
+#define MAME_BUS_QL_QUBIDE_H
-#ifndef __QUBIDE__
-#define __QUBIDE__
+#pragma once
#include "exp.h"
#include "machine/ataintf.h"
@@ -20,14 +20,13 @@
// TYPE DEFINITIONS
//**************************************************************************
-// ======================> qubide_t
+// ======================> qubide_device
-class qubide_t : public device_t,
- public device_ql_expansion_card_interface
+class qubide_device : public device_t, public device_ql_expansion_card_interface
{
public:
// construction/destruction
- qubide_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ qubide_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// optional information overrides
virtual const tiny_rom_entry *device_rom_region() const override;
@@ -55,8 +54,6 @@ private:
// device type definition
-extern const device_type QUBIDE;
-
-
+DECLARE_DEVICE_TYPE(QUBIDE, qubide_device)
-#endif
+#endif // MAME_BUS_QL_QUBIDE_H