summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a2bus/a2eext80col.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/a2bus/a2eext80col.h')
-rw-r--r--src/devices/bus/a2bus/a2eext80col.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/devices/bus/a2bus/a2eext80col.h b/src/devices/bus/a2bus/a2eext80col.h
index 09762dce2cc..2aa89586f5b 100644
--- a/src/devices/bus/a2bus/a2eext80col.h
+++ b/src/devices/bus/a2bus/a2eext80col.h
@@ -8,8 +8,10 @@
*********************************************************************/
-#ifndef __A2EAUX_EXT80COL__
-#define __A2EAUX_EXT80COL__
+#ifndef MAME_BUS_A2BUS_A2EEXT809COL_H
+#define MAME_BUS_A2BUS_A2EEXT809COL_H
+
+#pragma once
#include "a2eauxslot.h"
@@ -24,9 +26,10 @@ class a2eaux_ext80col_device:
public:
// construction/destruction
a2eaux_ext80col_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- a2eaux_ext80col_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);
protected:
+ a2eaux_ext80col_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+
virtual void device_start() override;
virtual void device_reset() override;
@@ -41,6 +44,6 @@ private:
};
// device type definition
-extern const device_type A2EAUX_EXT80COL;
+DECLARE_DEVICE_TYPE(A2EAUX_EXT80COL, a2eaux_ext80col_device)
-#endif /* __A2EAUX_EXT80COL__ */
+#endif // MAME_BUS_A2BUS_A2EEXT809COL_H