HostInterface: Add a ConfirmMessage() method

This commit is contained in:
Connor McLaughlin
2020-02-26 19:25:57 +10:00
parent 8ffdcf1b7e
commit e9dea6e0f7
8 changed files with 62 additions and 3 deletions

View File

@ -68,9 +68,11 @@ public:
virtual void ReportError(const char* message);
virtual void ReportMessage(const char* message);
virtual bool ConfirmMessage(const char* message);
void ReportFormattedError(const char* format, ...);
void ReportFormattedMessage(const char* format, ...);
bool ConfirmFormattedMessage(const char* format, ...);
/// Adds OSD messages, duration is in seconds.
void AddOSDMessage(const char* message, float duration = 2.0f);