]> git.mxchange.org Git - flightgear.git/blob - src/GUI/MessageBox.hxx
Message box support.
[flightgear.git] / src / GUI / MessageBox.hxx
1 #ifndef FG_GUI_MESSAGE_BOX_HXX
2 #define FG_GUI_MESSAGE_BOX_HXX
3
4 #include <string>
5
6 namespace flightgear
7 {
8
9 enum MessageBoxResult 
10 {
11     MSG_BOX_OK,
12     MSG_BOX_YES,
13     MSG_BOX_NO
14 };
15
16 MessageBoxResult modalMessageBox(const std::string& caption,
17     const std::string& msg,
18     const std::string& moreText = std::string());
19
20 MessageBoxResult fatalMessageBox(const std::string& caption,
21     const std::string& msg,
22     const std::string& moreText = std::string());
23                 
24 } // of namespace flightgear
25
26 #endif // of FG_GUI_MESSAGE_BOX_HXX