[Base] Clean up simple message box utility.

This commit is contained in:
gibbed
2021-06-28 11:08:57 -05:00
committed by Rick Gibbed
parent bf5f700f9e
commit 80cafd9358
6 changed files with 44 additions and 25 deletions

View File

@@ -20,6 +20,15 @@ namespace xe {
void LaunchWebBrowser(const std::string& url);
void LaunchFileExplorer(const std::filesystem::path& path);
enum class SimpleMessageBoxType {
Help,
Warning,
Error,
};
// This is expected to block the caller until the message box is closed.
void ShowSimpleMessageBox(SimpleMessageBoxType type, std::string_view message);
} // namespace xe
#endif // XENIA_BASE_SYSTEM_H_