1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00

Remove ErrorDialog.h from .h files (one function moves out of line)

This commit is contained in:
Paul Licameli
2019-03-30 15:20:40 -04:00
parent 0f3723e221
commit 44d664c7bb
7 changed files with 14 additions and 7 deletions

View File

@@ -27,6 +27,7 @@ capture the more lengthy output from some commands.
#include <wx/string.h>
#include "../ShuttleGui.h"
#include "../Project.h"
#include "../widgets/ErrorDialog.h"
void CommandMessageTarget::StartArray()
{
@@ -237,6 +238,12 @@ void BriefCommandMessageTarget::EndField(){
}
void MessageBoxTarget::Update(const wxString &message)
{
AudacityMessageBox(message);
}
LispifiedCommandOutputTargets::LispifiedCommandOutputTargets( CommandOutputTargets & target )
: CommandOutputTargets() ,
pToRestore( &target )

View File

@@ -60,7 +60,6 @@ and sends it to that message target.
//#include "../src/Project.h"
#include "../widgets/ProgressDialog.h"
#include "../commands/ResponseQueue.h"
#include "../widgets/ErrorDialog.h"
class wxStatusBar;
@@ -204,10 +203,7 @@ class MessageBoxTarget final : public CommandMessageTarget
{
public:
virtual ~MessageBoxTarget() {}
void Update(const wxString &message) override
{
AudacityMessageBox(message);
}
void Update(const wxString &message) override;
};
/// Displays messages from a command in a wxStatusBar