diff options
Diffstat (limited to 'libbutl/prompt.mxx')
-rw-r--r-- | libbutl/prompt.mxx | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/libbutl/prompt.mxx b/libbutl/prompt.mxx deleted file mode 100644 index 2489b2f..0000000 --- a/libbutl/prompt.mxx +++ /dev/null @@ -1,35 +0,0 @@ -// file : libbutl/prompt.mxx -*- C++ -*- -// license : MIT; see accompanying LICENSE file - -#ifndef __cpp_modules_ts -#pragma once -#endif - -// C includes. - -#ifndef __cpp_lib_modules_ts -#include <string> -#endif - -// Other includes. - -#ifdef __cpp_modules_ts -export module butl.prompt; -#ifdef __cpp_lib_modules_ts -import std.core; -#endif -#endif - -#include <libbutl/export.hxx> - -LIBBUTL_MODEXPORT namespace butl -{ - // The Y/N prompt. The def argument, if specified, should be either 'y' or - // 'n'. It is used as the default answer, in case the user just hits enter. - // - // Write the prompt to diag_stream. Throw ios_base::failure if no answer - // could be extracted from stdin (for example, because it was closed). - // - LIBBUTL_SYMEXPORT bool - yn_prompt (const std::string&, char def = '\0'); -} |