diff options
Diffstat (limited to 'src/devices/machine/jvshost.h')
-rw-r--r-- | src/devices/machine/jvshost.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/devices/machine/jvshost.h b/src/devices/machine/jvshost.h index b8a0c049ddd..c0f8429a1a3 100644 --- a/src/devices/machine/jvshost.h +++ b/src/devices/machine/jvshost.h @@ -1,23 +1,24 @@ // license:BSD-3-Clause // copyright-holders:Olivier Galibert -#ifndef __JVSHOST_H__ -#define __JVSHOST_H__ +#ifndef MAME_MACHINE_JVSHOST_H +#define MAME_MACHINE_JVSHOST_H + +#pragma once class jvs_device; class jvs_host : public device_t { public: - jvs_host(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); - void add_device(jvs_device *dev); protected: + jvs_host(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + // device-level overrides virtual void device_start() override; virtual void device_reset() override; - void push(uint8_t val); void commit_raw(); void commit_encoded(); @@ -43,4 +44,4 @@ private: void decode(uint8_t *buffer, uint32_t &size); }; -#endif +#endif // MAME_MACHINE_JVSHOST_H |