summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pofo/hpc102.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pofo/hpc102.h')
-rw-r--r--src/devices/bus/pofo/hpc102.h23
1 files changed, 8 insertions, 15 deletions
diff --git a/src/devices/bus/pofo/hpc102.h b/src/devices/bus/pofo/hpc102.h
index e492e6cdc38..e0ba50074e4 100644
--- a/src/devices/bus/pofo/hpc102.h
+++ b/src/devices/bus/pofo/hpc102.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_POFO_HPC102_H
+#define MAME_BUS_POFO_HPC102_H
-#ifndef __HPC102__
-#define __HPC102__
+#pragma once
#include "exp.h"
#include "bus/rs232/rs232.h"
@@ -21,14 +21,13 @@
// TYPE DEFINITIONS
//**************************************************************************
-// ======================> hpc102_t
+// ======================> pofo_hpc102_device
-class hpc102_t : public device_t,
- public device_portfolio_expansion_slot_interface
+class pofo_hpc102_device : public device_t, public device_portfolio_expansion_slot_interface
{
public:
// construction/destruction
- hpc102_t(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ pofo_hpc102_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -54,12 +53,6 @@ private:
// device type definition
-extern const device_type HPC102;
-
-
-
-#endif
-/*
-
+DECLARE_DEVICE_TYPE(POFO_HPC102, pofo_hpc102_device)
-*/
+#endif // MAME_BUS_POFO_HPC102_H