summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a2bus/a2swyft.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/a2bus/a2swyft.h')
-rw-r--r--src/devices/bus/a2bus/a2swyft.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/devices/bus/a2bus/a2swyft.h b/src/devices/bus/a2bus/a2swyft.h
index df646038aa9..0215c4623ab 100644
--- a/src/devices/bus/a2bus/a2swyft.h
+++ b/src/devices/bus/a2bus/a2swyft.h
@@ -8,8 +8,10 @@
*********************************************************************/
-#ifndef __A2BUS_SWYFT__
-#define __A2BUS_SWYFT__
+#ifndef MAME_BUS_A2BUS_A2SWYFT_H
+#define MAME_BUS_A2BUS_A2SWYFT_H
+
+#pragma once
#include "a2bus.h"
@@ -24,11 +26,12 @@ class a2bus_swyft_device:
public:
// construction/destruction
a2bus_swyft_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- a2bus_swyft_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);
virtual const tiny_rom_entry *device_rom_region() const override;
protected:
+ a2bus_swyft_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;
@@ -46,6 +49,6 @@ private:
};
// device type definition
-extern const device_type A2BUS_SWYFT;
+DECLARE_DEVICE_TYPE(A2BUS_SWYFT, a2bus_swyft_device)
-#endif /* __A2BUS_SWYFT__ */
+#endif // MAME_BUS_A2BUS_A2SWYFT_H