blob: f5498fb632992dc6ec424e4b081b2790b6a0c675 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
/***************************************************************************
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__
#include "options.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"
#define CLIOPTION_LISTMEDIA "listmedia" // needed by MESS
#define CLIOPTION_LISTSOFTWARE "listsoftware"
/***************************************************************************
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);
int cli_info_listdevices(core_options *options, const char *gamename);
#endif /* __CLIFRONT_H__ */
|