mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 08:25:47 -04:00
HostInterface: Add debugger message callbacks
This commit is contained in:
@ -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;
|
||||
|
@ -51,6 +51,7 @@ public:
|
||||
public Q_SLOTS:
|
||||
void ReportError(const char* message) override;
|
||||
void ReportMessage(const char* message) override;
|
||||
void ReportDebuggerMessage(const char* message) override;
|
||||
bool ConfirmMessage(const char* message) override;
|
||||
|
||||
public:
|
||||
@ -120,6 +121,7 @@ public:
|
||||
Q_SIGNALS:
|
||||
void errorReported(const QString& message);
|
||||
void messageReported(const QString& message);
|
||||
void debuggerMessageReported(const QString& message);
|
||||
bool messageConfirmed(const QString& message);
|
||||
void emulationStarting();
|
||||
void emulationStarted();
|
||||
|
Reference in New Issue
Block a user