OSDN Git Service

[General] Convert sourcecode's CRLF format: DOS(WINDOWS) to Unix, to apply patches...
[csp-qt/common_source_project-fm7.git] / source / src / vm / mz2500 / mouse.h
index 142e085..b5beb18 100644 (file)
@@ -1,47 +1,47 @@
-/*\r
-       SHARP MZ-2500 Emulator 'EmuZ-2500'\r
-\r
-       Author : Takeda.Toshiya\r
-       Date   : 2004.09.05 -\r
-\r
-       [ mouse ]\r
-*/\r
-\r
-#ifndef _MOUSE_H_\r
-#define _MOUSE_H_\r
-\r
-#include "../vm.h"\r
-#include "../../emu.h"\r
-#include "../device.h"\r
-\r
-#define SIG_MOUSE_SEL  0\r
-#define SIG_MOUSE_DTR  1\r
-\r
-class MOUSE : public DEVICE\r
-{\r
-private:\r
-       DEVICE* d_sio;\r
-       \r
-       // mouse\r
-       int* stat;\r
-       bool select;\r
-       \r
-public:\r
-       MOUSE(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}\r
-       ~MOUSE() {}\r
-       \r
-       // common functions\r
-       void initialize();\r
-       void write_signal(int id, uint32 data, uint32 mask);\r
-       void save_state(FILEIO* state_fio);\r
-       bool load_state(FILEIO* state_fio);\r
-       \r
-       // unique function\r
-       void set_context_sio(DEVICE* device)\r
-       {\r
-               d_sio = device;\r
-       }\r
-};\r
-\r
-#endif\r
-\r
+/*
+       SHARP MZ-2500 Emulator 'EmuZ-2500'
+
+       Author : Takeda.Toshiya
+       Date   : 2004.09.05 -
+
+       [ mouse ]
+*/
+
+#ifndef _MOUSE_H_
+#define _MOUSE_H_
+
+#include "../vm.h"
+#include "../../emu.h"
+#include "../device.h"
+
+#define SIG_MOUSE_SEL  0
+#define SIG_MOUSE_DTR  1
+
+class MOUSE : public DEVICE
+{
+private:
+       DEVICE* d_sio;
+       
+       // mouse
+       int* stat;
+       bool select;
+       
+public:
+       MOUSE(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}
+       ~MOUSE() {}
+       
+       // common functions
+       void initialize();
+       void write_signal(int id, uint32 data, uint32 mask);
+       void save_state(FILEIO* state_fio);
+       bool load_state(FILEIO* state_fio);
+       
+       // unique function
+       void set_context_sio(DEVICE* device)
+       {
+               d_sio = device;
+       }
+};
+
+#endif
+