Previous 15994 Revisions Next

r2269 Saturday 5th April, 2008 at 13:22:12 UTC by Nathan Woods
Moved iodevice_t declaration to image.h
[src/mess]device.h image.h
[src/mess/osd/winui]msuiutil.c optionsms.h propertiesms.c

src/mess/image.h
r2268r2269
2424
2525typedef enum
2626{
27   /* List of all supported devices.  Refer to the device by these names only */
28   IO_UNKNOWN,
29   IO_CARTSLOT,   /*  1 - Cartridge Port, as found on most console and on some computers */
30   IO_FLOPPY,      /*  2 - Floppy Disk unit */
31   IO_HARDDISK,   /*  3 - Hard Disk unit */
32   IO_CYLINDER,   /*  4 - Magnetically-Coated Cylinder */
33   IO_CASSETTE,   /*  5 - Cassette Recorder (common on early home computers) */
34   IO_PUNCHCARD,   /*  6 - Card Puncher/Reader */
35   IO_PUNCHTAPE,   /*  7 - Tape Puncher/Reader (reels instead of punchcards) */
36   IO_PRINTER,      /*  8 - Printer device */
37   IO_SERIAL,      /*  9 - Generic Serial Port */
38   IO_PARALLEL,    /* 10 - Generic Parallel Port */
39   IO_SNAPSHOT,   /* 11 - Complete 'snapshot' of the state of the computer */
40   IO_QUICKLOAD,   /* 12 - Allow to load program/data into memory, without matching any actual device */
41   IO_MEMCARD,      /* 13 - Memory card */
42   IO_CDROM,      /* 14 - optical CD-ROM disc */
43   IO_COUNT      /* 15 - Total Number of IO_devices for searching */
44} iodevice_t;
45
46
47
48typedef enum
49{
2750   IMAGE_ERROR_SUCCESS,
2851   IMAGE_ERROR_INTERNAL,
2952   IMAGE_ERROR_UNSUPPORTED,
src/mess/device.h
r2268r2269
1616// MESS headers
1717#include "osdmess.h"
1818#include "opresolv.h"
19#include "image.h"
1920
2021
2122/*************************************
r2268r2269
203204 *
204205 *************************************/
205206
206typedef enum
207{
208   /* List of all supported devices.  Refer to the device by these names only */
209   IO_CARTSLOT,   /*  0 - Cartridge Port, as found on most console and on some computers */
210   IO_FLOPPY,      /*  1 - Floppy Disk unit */
211   IO_HARDDISK,   /*  2 - Hard Disk unit */
212   IO_CYLINDER,   /*  3 - Magnetically-Coated Cylinder */
213   IO_CASSETTE,   /*  4 - Cassette Recorder (common on early home computers) */
214   IO_PUNCHCARD,   /*  5 - Card Puncher/Reader */
215   IO_PUNCHTAPE,   /*  6 - Tape Puncher/Reader (reels instead of punchcards) */
216   IO_PRINTER,      /*  7 - Printer device */
217   IO_SERIAL,      /*  8 - Generic Serial Port */
218   IO_PARALLEL,    /*  9 - Generic Parallel Port */
219   IO_SNAPSHOT,   /* 10 - Complete 'snapshot' of the state of the computer */
220   IO_QUICKLOAD,   /* 11 - Allow to load program/data into memory, without matching any actual device */
221   IO_MEMCARD,      /* 12 - Memory card */
222   IO_CDROM,      /* 13 - optical CD-ROM disc */
223   IO_COUNT      /* 14 - Total Number of IO_devices for searching */
224} iodevice_t;
225
226
227
228207struct CreateImageOptions
229208{
230209   const char *name;
src/mess/osd/winui/optionsms.h
r2268r2269
11#ifndef OPTIONSMS_H
22#define OPTIONSMS_H
33
4#include "mame.h"
5#include "image.h"
46#include "device.h"
57#include "options.h"
68
src/mess/osd/winui/msuiutil.c
r2268r2269
11#include "driver.h"
2#include "image.h"
23#include "device.h"
34#include "msuiutil.h"
45
src/mess/osd/winui/propertiesms.c
r2268r2269
1515#include <tchar.h>
1616
1717#include "driver.h"
18#include "image.h"
1819#include "device.h"
1920#include "screenshot.h"
2021#include "datamap.h"

Previous 15994 Revisions Next


© 1998-2018 The MESS Team