mame/src/emu/clifront.h
Aaron Giles c96bd5b910 Added new frontend option -listbrothers. This will list all "brothers"
of a given driver, meaning those drivers that come from the same source
file, along with their parent names if they are clones. If a wildcard
name is specified for the driver, then the first driver in a given
source file will trigger a list of his brothers, and any other drivers
in the same source file which match the wildcard will be flagged.
2008-12-30 20:19:04 +00:00

59 lines
2.1 KiB
C

/***************************************************************************
clifront.h
Command-line interface frontend for MAME.
Copyright 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_LISTBROTHERS "listbrothers"
#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_listbrothers(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__ */