2013-11-06 23:49:58 +00:00
|
|
|
#ifndef FG_GUI_MESSAGE_BOX_HXX
|
|
|
|
#define FG_GUI_MESSAGE_BOX_HXX
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace flightgear
|
|
|
|
{
|
|
|
|
|
2017-04-08 11:49:55 +00:00
|
|
|
enum MessageBoxResult
|
2013-11-06 23:49:58 +00:00
|
|
|
{
|
|
|
|
MSG_BOX_OK,
|
|
|
|
MSG_BOX_YES,
|
|
|
|
MSG_BOX_NO
|
|
|
|
};
|
|
|
|
|
|
|
|
MessageBoxResult modalMessageBox(const std::string& caption,
|
|
|
|
const std::string& msg,
|
|
|
|
const std::string& moreText = std::string());
|
|
|
|
|
2017-04-09 15:49:06 +00:00
|
|
|
MessageBoxResult fatalMessageBox(const std::string& caption,
|
2013-11-06 23:49:58 +00:00
|
|
|
const std::string& msg,
|
|
|
|
const std::string& moreText = std::string());
|
2017-04-08 11:49:55 +00:00
|
|
|
|
2013-11-06 23:49:58 +00:00
|
|
|
} // of namespace flightgear
|
|
|
|
|
|
|
|
#endif // of FG_GUI_MESSAGE_BOX_HXX
|