1 #ifndef DONUT_EVENTS_MESSAGE_BOX_HPP
2 #define DONUT_EVENTS_MESSAGE_BOX_HPP
35 static void show(
Type type,
const char* title,
const char* message);
Utility class for simple message boxes to be delivered to the user through the host environment.
Definition: MessageBox.hpp:10
Type
Type of message contained in a message box.
Definition: MessageBox.hpp:15
@ WARNING_MESSAGE
Warns the user about a potential error.
@ ERROR_MESSAGE
Indicates that an error occured.
@ INFO_MESSAGE
Provides general information.
static void show(Type type, const char *title, const char *message)
Display a simple message box that blocks execution on the current thread until the user presses OK.
MessageBox()=delete
Message box objects are not intended to be constructed directly.