15 #ifndef QUIT_CONFIRMATION_HPP_INCLUDED
16 #define QUIT_CONFIRMATION_HPP_INCLUDED
static void quit_to_title()
static bool show_prompt(const std::string &message)
Implements a quit confirmation dialog.
quit_confirmation(const std::function< bool()> &prompt=&quit_confirmation::default_prompt)
const quit_confirmation & operator=(const quit_confirmation &)
static bool quit()
Shows the quit confirmation if needed.
static void quit_to_desktop()
static bool default_prompt()
std::function< bool()> prompt_
GLsizei GLenum GLuint GLuint GLsizei char * message
static std::vector< quit_confirmation * > blockers_
GLsizei const GLcharARB ** string