diff options
Diffstat (limited to 'web/web_prompt.h')
-rw-r--r-- | web/web_prompt.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/web/web_prompt.h b/web/web_prompt.h new file mode 100644 index 0000000..b416f2a --- /dev/null +++ b/web/web_prompt.h @@ -0,0 +1,16 @@ +#ifndef WEB_PROMPT_H +#define WEB_PROMPT_H + +enum prompt_mode { + PM_DARTBOARD, + PM_VISIT, + PM_NUM_DARTS, + PM_END_MATCH, + PM_SELECT_MODE +}; + +extern enum prompt_mode pm; + +void prompt_handle(char *command, char *data); + +#endif |