OSCR
Open Source Cartridge Reader
Loading...
Searching...
No Matches
Prompts.h
1/********************************************************************
2* Open Source Cartridge Reader *
3********************************************************************/
4#pragma once
5#ifndef OSCR_PROMPTS_H_
6#define OSCR_PROMPTS_H_
7
8#include "syslibinc.h"
9#include "config.h"
10
11namespace OSCR::Prompts
12{
13 enum class AbortRetryContinue : uint8_t
14 {
15 Abort,
16 Retry,
17 Continue,
18 };
19
20 AbortRetryContinue abortRetryContinue();
21 bool confirmErase();
22 bool askYesNo(char const * question);
23} /* namespace OSCR::Prompts */
24
25#endif/* OSCR_PROMPTS_H_ */