mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 17:19:43 +02:00
Remove ErrorDialog.h from .h files (one function moves out of line)
This commit is contained in:
parent
0f3723e221
commit
44d664c7bb
@ -169,8 +169,6 @@ scroll information. It also has some status flags.
|
|||||||
#include "tracks/ui/PlayIndicatorOverlay.h"
|
#include "tracks/ui/PlayIndicatorOverlay.h"
|
||||||
#include "tracks/ui/Scrubbing.h"
|
#include "tracks/ui/Scrubbing.h"
|
||||||
|
|
||||||
#include "widgets/ErrorDialog.h"
|
|
||||||
|
|
||||||
#include "commands/ScriptCommandRelay.h"
|
#include "commands/ScriptCommandRelay.h"
|
||||||
#include "commands/CommandTargets.h"
|
#include "commands/CommandTargets.h"
|
||||||
#include "commands/Command.h"
|
#include "commands/Command.h"
|
||||||
|
@ -27,6 +27,7 @@ capture the more lengthy output from some commands.
|
|||||||
#include <wx/string.h>
|
#include <wx/string.h>
|
||||||
#include "../ShuttleGui.h"
|
#include "../ShuttleGui.h"
|
||||||
#include "../Project.h"
|
#include "../Project.h"
|
||||||
|
#include "../widgets/ErrorDialog.h"
|
||||||
|
|
||||||
void CommandMessageTarget::StartArray()
|
void CommandMessageTarget::StartArray()
|
||||||
{
|
{
|
||||||
@ -237,6 +238,12 @@ void BriefCommandMessageTarget::EndField(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void MessageBoxTarget::Update(const wxString &message)
|
||||||
|
{
|
||||||
|
AudacityMessageBox(message);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
LispifiedCommandOutputTargets::LispifiedCommandOutputTargets( CommandOutputTargets & target )
|
LispifiedCommandOutputTargets::LispifiedCommandOutputTargets( CommandOutputTargets & target )
|
||||||
: CommandOutputTargets() ,
|
: CommandOutputTargets() ,
|
||||||
pToRestore( &target )
|
pToRestore( &target )
|
||||||
|
@ -60,7 +60,6 @@ and sends it to that message target.
|
|||||||
//#include "../src/Project.h"
|
//#include "../src/Project.h"
|
||||||
#include "../widgets/ProgressDialog.h"
|
#include "../widgets/ProgressDialog.h"
|
||||||
#include "../commands/ResponseQueue.h"
|
#include "../commands/ResponseQueue.h"
|
||||||
#include "../widgets/ErrorDialog.h"
|
|
||||||
|
|
||||||
class wxStatusBar;
|
class wxStatusBar;
|
||||||
|
|
||||||
@ -204,10 +203,7 @@ class MessageBoxTarget final : public CommandMessageTarget
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~MessageBoxTarget() {}
|
virtual ~MessageBoxTarget() {}
|
||||||
void Update(const wxString &message) override
|
void Update(const wxString &message) override;
|
||||||
{
|
|
||||||
AudacityMessageBox(message);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Displays messages from a command in a wxStatusBar
|
/// Displays messages from a command in a wxStatusBar
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#include "../Audacity.h"
|
#include "../Audacity.h"
|
||||||
#include "../Experimental.h"
|
#include "../Experimental.h"
|
||||||
|
|
||||||
|
#include <wx/textctrl.h>
|
||||||
|
|
||||||
#include "../AboutDialog.h"
|
#include "../AboutDialog.h"
|
||||||
#include "../AudacityApp.h"
|
#include "../AudacityApp.h"
|
||||||
#include "../AudacityLogger.h"
|
#include "../AudacityLogger.h"
|
||||||
@ -12,6 +14,7 @@
|
|||||||
#include "../SplashDialog.h"
|
#include "../SplashDialog.h"
|
||||||
#include "../commands/CommandContext.h"
|
#include "../commands/CommandContext.h"
|
||||||
#include "../commands/CommandManager.h"
|
#include "../commands/CommandManager.h"
|
||||||
|
#include "../widgets/ErrorDialog.h"
|
||||||
#include "../widgets/HelpSystem.h"
|
#include "../widgets/HelpSystem.h"
|
||||||
#include "../widgets/LinkingHtmlWindow.h"
|
#include "../widgets/LinkingHtmlWindow.h"
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
#include "../commands/CommandManager.h"
|
#include "../commands/CommandManager.h"
|
||||||
#include "../effects/EffectManager.h"
|
#include "../effects/EffectManager.h"
|
||||||
#include "../widgets/ASlider.h"
|
#include "../widgets/ASlider.h"
|
||||||
|
#include "../widgets/ErrorDialog.h"
|
||||||
|
|
||||||
#include <wx/combobox.h>
|
#include <wx/combobox.h>
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ other settings.
|
|||||||
#include <wx/choice.h>
|
#include <wx/choice.h>
|
||||||
#include <wx/intl.h>
|
#include <wx/intl.h>
|
||||||
#include <wx/log.h>
|
#include <wx/log.h>
|
||||||
|
#include <wx/textctrl.h>
|
||||||
|
|
||||||
#include "portaudio.h"
|
#include "portaudio.h"
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <wx/choice.h>
|
#include <wx/choice.h>
|
||||||
#include <wx/defs.h>
|
#include <wx/defs.h>
|
||||||
|
#include <wx/textctrl.h>
|
||||||
|
|
||||||
#include "../AudioIO.h"
|
#include "../AudioIO.h"
|
||||||
#include "../Dither.h"
|
#include "../Dither.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user