7#pragma push_macro("MessageBox")
9#pragma push_macro("IGNORE")
15 enum class MessageBoxResult { OK, CANCEL, YES, NO, ABORT, RETRY, IGNORE };
18 enum class MessageBoxChoice { OK, OK_CANCEL, YES_NO, YES_NO_CANCEL, RETRY_CANCEL, ABORT_RETRY_IGNORE };
34 static MessageBoxResult
info(
35 const std::string& sTitle,
36 const std::string& sText,
37 MessageBoxChoice buttons = MessageBoxChoice::OK);
51 const std::string& sTitle,
52 const std::string& sText,
53 MessageBoxChoice buttons = MessageBoxChoice::OK);
66 static MessageBoxResult
warning(
67 const std::string& sTitle,
68 const std::string& sText,
69 MessageBoxChoice buttons = MessageBoxChoice::OK);
82 static MessageBoxResult
error(
83 const std::string& sTitle,
84 const std::string& sText,
85 MessageBoxChoice buttons = MessageBoxChoice::OK);
90#pragma pop_macro("IGNORE")
91#pragma pop_macro("MessageBox")
Definition: MessageBox.h:21
static MessageBoxResult warning(const std::string &sTitle, const std::string &sText, MessageBoxChoice buttons=MessageBoxChoice::OK)
Definition: MessageBox.cpp:65
static MessageBoxResult question(const std::string &sTitle, const std::string &sText, MessageBoxChoice buttons=MessageBoxChoice::OK)
Definition: MessageBox.cpp:59
static MessageBoxResult error(const std::string &sTitle, const std::string &sText, MessageBoxChoice buttons=MessageBoxChoice::OK)
Definition: MessageBox.cpp:71
static MessageBoxResult info(const std::string &sTitle, const std::string &sText, MessageBoxChoice buttons=MessageBoxChoice::OK)
Definition: MessageBox.cpp:54