Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
DebugDialogs.hpp File Reference
#include <expected>
#include <string>
#include <string_view>
Include dependency graph for DebugDialogs.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  monopoly::debugui::QuestionPlan
 

Namespaces

namespace  monopoly
 
namespace  monopoly::debugui
 

Enumerations

enum class  monopoly::debugui::Question { monopoly::debugui::RetryCancel , monopoly::debugui::OkCancel , monopoly::debugui::YesNo }
 

Functions

QuestionPlan monopoly::debugui::questionPlan (Question question, bool defaultPositive)
 
std::expected< void, std::string > monopoly::debugui::displayMessage (std::string_view title, std::string_view message, SDL_Window *window)
 
std::expected< bool, std::string > monopoly::debugui::retryMessage (std::string_view title, std::string_view message, SDL_Window *window)
 
std::expected< bool, std::string > monopoly::debugui::okCancelMessage (std::string_view title, std::string_view message, SDL_Window *window)
 
std::expected< bool, std::string > monopoly::debugui::yesNoMessage (std::string_view title, std::string_view message, bool defaultYes, SDL_Window *window)
 
void monopoly::debugui::errorExit (std::string_view message, SDL_Window *window)
 

Variables

constexpr int monopoly::debugui::ErrorExitStatus = 20