diff options
Diffstat (limited to 'src/devices/bus/ti8x/teeconn.h')
-rw-r--r-- | src/devices/bus/ti8x/teeconn.h | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/src/devices/bus/ti8x/teeconn.h b/src/devices/bus/ti8x/teeconn.h index 65ffa1c6d81..4b3aa2bd4cf 100644 --- a/src/devices/bus/ti8x/teeconn.h +++ b/src/devices/bus/ti8x/teeconn.h @@ -1,8 +1,5 @@ // license:BSD-3-Clause // copyright-holders:Vas Crabb -/* - A T-connector, strangely enough. - */ #ifndef MAME_DEVICES_BUS_TI8X_TEECONN_H #define MAME_DEVICES_BUS_TI8X_TEECONN_H @@ -11,35 +8,6 @@ #include "ti8x.h" -namespace bus { namespace ti8x { - -class tee_connector_device : public device_t, public device_ti8x_link_port_interface -{ -public: - tee_connector_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock); - -protected: - virtual void device_add_mconfig(machine_config &config) override; - virtual void device_start() override; - - virtual DECLARE_WRITE_LINE_MEMBER(input_tip) override; - virtual DECLARE_WRITE_LINE_MEMBER(input_ring) override; - - DECLARE_WRITE_LINE_MEMBER(tip_a_w); - DECLARE_WRITE_LINE_MEMBER(ring_a_w); - DECLARE_WRITE_LINE_MEMBER(tip_b_w); - DECLARE_WRITE_LINE_MEMBER(ring_b_w); - - required_device<ti8x_link_port_device> m_port_a; - required_device<ti8x_link_port_device> m_port_b; - - bool m_tip_host, m_tip_a, m_tip_b; - bool m_ring_host, m_ring_a, m_ring_b; -}; - -} } // namespace bus::ti8x - - -DECLARE_DEVICE_TYPE_NS(TI8X_TEE_CONNECTOR, bus::ti8x, tee_connector_device) +DECLARE_DEVICE_TYPE(TI8X_TEE_CONNECTOR, device_ti8x_link_port_interface) #endif // MAME_DEVICES_BUS_TI8X_TEECONN_H |