summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/bbc/analogue/cfa3000a.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/bbc/analogue/cfa3000a.h')
-rw-r--r--src/devices/bus/bbc/analogue/cfa3000a.h41
1 files changed, 1 insertions, 40 deletions
diff --git a/src/devices/bus/bbc/analogue/cfa3000a.h b/src/devices/bus/bbc/analogue/cfa3000a.h
index 3e2ddb43ccc..93944c66a92 100644
--- a/src/devices/bus/bbc/analogue/cfa3000a.h
+++ b/src/devices/bus/bbc/analogue/cfa3000a.h
@@ -1,12 +1,5 @@
// license:BSD-3-Clause
// copyright-holders:Nigel Barnes
-/**********************************************************************
-
- Henson CFA3000 Analogue
-
-**********************************************************************/
-
-
#ifndef MAME_BUS_BBC_ANALOGUE_CFA3000A_H
#define MAME_BUS_BBC_ANALOGUE_CFA3000A_H
@@ -14,39 +7,7 @@
#include "analogue.h"
-//**************************************************************************
-// TYPE DEFINITIONS
-//**************************************************************************
-
-// ======================> cfa3000_anlg_device
-
-class cfa3000_anlg_device :
- public device_t,
- public device_bbc_analogue_interface
-{
-public:
- // construction/destruction
- cfa3000_anlg_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
-
-protected:
- // device-level overrides
- virtual void device_start() override ATTR_COLD;
- virtual void device_reset() override ATTR_COLD;
-
- // optional information overrides
- virtual ioport_constructor device_input_ports() const override ATTR_COLD;
-
- virtual uint8_t ch_r(int channel) override;
- virtual uint8_t pb_r() override;
-
-private:
- required_ioport_array<4> m_channel;
- required_ioport m_buttons;
-};
-
-
-// device type definition
-DECLARE_DEVICE_TYPE(CFA3000_ANLG, cfa3000_anlg_device)
+DECLARE_DEVICE_TYPE(CFA3000_ANLG, device_bbc_analogue_interface)
#endif // MAME_BUS_BBC_ANALOGUE_CFA3000A_H