diff options
Diffstat (limited to 'src/emu/emuopts.h')
-rw-r--r-- | src/emu/emuopts.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/emu/emuopts.h b/src/emu/emuopts.h index d8983101a3a..2046661146b 100644 --- a/src/emu/emuopts.h +++ b/src/emu/emuopts.h @@ -190,6 +190,10 @@ #define OPTION_LANGUAGE "language" +#define OPTION_HTTP "http" +#define OPTION_HTTP_PORT "http_port" +#define OPTION_HTTP_ROOT "http_root" + //************************************************************************** // TYPE DEFINITIONS //************************************************************************** @@ -381,6 +385,11 @@ public: const char *language() const { return value(OPTION_LANGUAGE); } + // Web server specific optopns + bool http() const { return value(OPTION_HTTP); } + short http_port() const { return int_value(OPTION_HTTP_PORT); } + const char *http_root() const { return value(OPTION_HTTP_ROOT); } + // cache frequently used options in members void update_cached_options(); |