HostInterface: Add debugger message callbacks

This commit is contained in:
Connor McLaughlin
2020-12-17 01:17:26 +10:00
parent fa0f177e51
commit a8af0f7ecb
4 changed files with 27 additions and 1 deletions

View File

@ -161,6 +161,13 @@ void QtHostInterface::ReportMessage(const char* message)
emit messageReported(QString::fromUtf8(message));
}
void QtHostInterface::ReportDebuggerMessage(const char* message)
{
HostInterface::ReportDebuggerMessage(message);
emit debuggerMessageReported(QString::fromUtf8(message));
}
bool QtHostInterface::ConfirmMessage(const char* message)
{
const bool was_fullscreen = m_is_fullscreen;