summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/symbfac2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cpc/symbfac2.h')
-rw-r--r--src/devices/bus/cpc/symbfac2.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/devices/bus/cpc/symbfac2.h b/src/devices/bus/cpc/symbfac2.h
index a5a568b423f..9144d8a6519 100644
--- a/src/devices/bus/cpc/symbfac2.h
+++ b/src/devices/bus/cpc/symbfac2.h
@@ -6,13 +6,15 @@
* Created on: 2/08/2014
*/
-#ifndef SYMBFAC2_H_
-#define SYMBFAC2_H_
+#ifndef MAME_BUS_CPC_SYMBFAC2_H
+#define MAME_BUS_CPC_SYMBFAC2_H
+#pragma once
+
+#include "cpcexp.h"
#include "machine/ataintf.h"
#include "machine/ds128x.h"
#include "machine/nvram.h"
-#include "cpcexp.h"
class cpc_symbiface2_device : public device_t,
public device_cpc_expansion_card_interface
@@ -46,6 +48,7 @@ public:
PS2_MOUSE_BUTTONS,
PS2_MOUSE_SCROLL
};
+
protected:
// device-level overrides
virtual void device_start() override;
@@ -78,7 +81,7 @@ private:
};
// device type definition
-extern const device_type CPC_SYMBIFACE2;
+DECLARE_DEVICE_TYPE(CPC_SYMBIFACE2, cpc_symbiface2_device)
-#endif /* SYMBFAC2_H_ */
+#endif // MAME_BUS_CPC_SYMBFAC2_H