diff options
author | 2007-12-17 15:19:59 +0000 | |
---|---|---|
committer | 2007-12-17 15:19:59 +0000 | |
commit | 7b77f1218624ea26dbb2efd85a19f795f5d4e02e (patch) | |
tree | 19209304095572b4fd61c2a2d6a5aa75c4e471ad /src/emu/clifront.h | |
parent | 3da7f476068b3ffef713218ba2fc1bd5030f2c38 (diff) |
Initial checkin of MAME 0.121.mame0121
Diffstat (limited to 'src/emu/clifront.h')
-rw-r--r-- | src/emu/clifront.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/emu/clifront.h b/src/emu/clifront.h new file mode 100644 index 00000000000..4278a315325 --- /dev/null +++ b/src/emu/clifront.h @@ -0,0 +1,56 @@ +/*************************************************************************** + + clifront.h + + Command-line interface frontend for MAME. + + Copyright (c) 1996-2007, Nicola Salmoria and the MAME Team. + Visit http://mamedev.org for licensing and usage restrictions. + +***************************************************************************/ + +#pragma once + +#ifndef __CLIFRONT_H__ +#define __CLIFRONT_H__ + + +/*************************************************************************** + CONSTANTS +***************************************************************************/ + +#define CLIOPTION_CREATECONFIG "createconfig" +#define CLIOPTION_SHOWCONFIG "showconfig" +#define CLIOPTION_SHOWUSAGE "showusage" +#define CLIOPTION_VALIDATE "validate" +#define CLIOPTION_HELP "help" +#define CLIOPTION_LISTXML "listxml" +#define CLIOPTION_LISTFULL "listfull" +#define CLIOPTION_LISTSOURCE "listsource" +#define CLIOPTION_LISTCLONES "listclones" +#define CLIOPTION_LISTCRC "listcrc" +#define CLIOPTION_LISTDEVICES "listdevices" +#define CLIOPTION_LISTROMS "listroms" +#define CLIOPTION_LISTSAMPLES "listsamples" +#define CLIOPTION_VERIFYROMS "verifyroms" +#define CLIOPTION_VERIFYSAMPLES "verifysamples" +#define CLIOPTION_ROMIDENT "romident" + + + +/*************************************************************************** + FUNCTION PROTOTYPES +***************************************************************************/ + +int cli_execute(int argc, char **argv, const options_entry *osd_options); + +/* informational functions */ +int cli_info_listxml(core_options *options, const char *gamename); +int cli_info_listfull(core_options *options, const char *gamename); +int cli_info_listsource(core_options *options, const char *gamename); +int cli_info_listclones(core_options *options, const char *gamename); +int cli_info_listcrc(core_options *options, const char *gamename); +int cli_info_listroms(core_options *options, const char *gamename); +int cli_info_listsamples(core_options *options, const char *gamename); + +#endif /* __CLIFRONT_H__ */ |