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

Remove redundant #include-s from .h files...

Redundant, because transitively implied.  But don't do this for inclusions of
Audacity.h or Experimental.h.
This commit is contained in:
Paul Licameli
2019-05-16 14:15:05 -04:00
parent 56f51d8176
commit 548192fcf3
99 changed files with 3 additions and 142 deletions

View File

@@ -13,16 +13,13 @@
#include "../Audacity.h"
#include "../MemoryX.h"
#include <set>
#include "../MemoryX.h"
#include <wx/defs.h>
#include <wx/event.h> // to inherit
#include "../widgets/wxPanelWrapper.h" // to inherit
#include "../Internat.h"
#include "../include/audacity/ComponentInterface.h"
#include "../include/audacity/EffectAutomationParameters.h" // for command automation

View File

@@ -17,9 +17,6 @@
#ifndef __COMMAND__
#define __COMMAND__
#include "../MemoryX.h"
#include "CommandMisc.h"
#include "CommandSignature.h"
#include "../commands/AudacityCommand.h"

View File

@@ -12,7 +12,6 @@
#define __AUDACITY_COMMAND_CONTEXT__
#include "audacity/Types.h"
#include "../MemoryX.h"
#include "Command.h"
class AudacityProject;

View File

@@ -23,8 +23,6 @@ they are kept separate to make things simpler.
#ifndef __COMMANDDIRECTORY__
#define __COMMANDDIRECTORY__
#include "../MemoryX.h"
#include "CommandMisc.h"
#include "CommandType.h"
class CommandOutputTargets;

View File

@@ -9,7 +9,6 @@
#ifndef __AUDACITY_COMMAND_FUNCTORS__
#define __AUDACITY_COMMAND_FUNCTORS__
#include "../MemoryX.h"
#include "Command.h"
class AudacityProject;

View File

@@ -19,7 +19,6 @@
#include "CommandFunctors.h"
#include "CommandFlag.h"
#include "../MemoryX.h"
#include "Keyboard.h"
#include <vector>

View File

@@ -156,7 +156,7 @@ public:
#if 0
#include "../widgets/ProgressDialog.h" // Member variable
//#include "../widgets/ProgressDialog.h" // Member variable
/// Sends command progress information to a ProgressDialog
class GUIProgressTarget final : public CommandProgressTarget

View File

@@ -16,9 +16,7 @@
#ifndef __COMMANDTYPE__
#define __COMMANDTYPE__
#include "CommandMisc.h"
#include "CommandSignature.h"
#include "../MemoryX.h"
#include "../commands/AudacityCommand.h"
class OldStyleCommand;

View File

@@ -14,7 +14,6 @@
#define __SCREENSHOT_COMMAND__
#include "Command.h"
#include "../commands/AudacityCommand.h"
#include <wx/colour.h> // member variable

View File

@@ -16,8 +16,6 @@
#ifndef __SET_CLIP_COMMAND__
#define __SET_CLIP_COMMAND__
#include "Command.h"
#include "CommandType.h"
#include "SetTrackInfoCommand.h"
#define SET_CLIP_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Set Clip") }

View File

@@ -16,8 +16,6 @@
#ifndef __SET_ENVELOPE_COMMAND__
#define __SET_ENVELOPE_COMMAND__
#include "Command.h"
#include "CommandType.h"
#include "SetTrackInfoCommand.h"
#define SET_ENVELOPE_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Set Envelope") }