41 #ifndef INCLUDED_MESSAGE_DIALOGS_H
42 #define INCLUDED_MESSAGE_DIALOGS_H
54 bool AreDialogsEnabled()
const {
return _areDialogsEnabled; }
56 virtual void MsgBox(
const char* s ) = 0;
58 virtual void Error(
const char* s ) = 0;
60 virtual int Question(
const char* s ) = 0;
62 virtual int Choice(
const char* b0,
const char* b1,
const char* b2,
const char* s ) = 0;
64 virtual int ChoiceWithDefault(
const char* b0,
const char* b1,
const char* b2,
const int defaultChoice,
const char* s ) = 0;
66 virtual ~MessageDialogs() {}
70 : _areDialogsEnabled( true )
76 MessageDialogs(
const MessageDialogs& );
77 MessageDialogs& operator=(
const MessageDialogs& );
79 bool _areDialogsEnabled;
A file for all GL Studio files to include.
void EnableDialogs(bool value)
Definition: message_dialogs.h:53
Definition: message_dialogs.h:49
Definition: bmpimage.h:46