Remove wx/string.h from headers

This commit is contained in:
Paul Licameli 2018-11-11 15:11:55 -05:00
parent 51f0362e9f
commit 1d0247607a
93 changed files with 8 additions and 105 deletions

View File

@ -43,7 +43,6 @@
#define __AUDACITY_TYPES_H__
#include <algorithm>
#include <wx/string.h>
#include <wx/arrstr.h>
#include <type_traits>
#include <vector>

View File

@ -23,7 +23,6 @@
#include <wx/log.h>
#include <wx/frame.h>
#include <wx/textctrl.h>
#include <wx/string.h>
class AudacityLogger final : public wxEvtHandler, public wxLog {
public:

View File

@ -49,7 +49,6 @@ using NoteTrackConstArray = std::vector < std::shared_ptr< const NoteTrack > >;
#endif
#include <wx/event.h>
#include <wx/string.h>
#include <wx/thread.h>
#include "SampleFormat.h"

View File

@ -13,8 +13,6 @@
#ifndef __AUDACITY_AUDIO_IO_LISTENER__
#define __AUDACITY_AUDIO_IO_LISTENER__
#include <wx/string.h>
class AutoSaveFile;
class AUDACITY_DLL_API AudioIOListener /* not final */ {

View File

@ -13,8 +13,6 @@
#define __AUDACITY_MACRO_COMMAND_DIALOG__
#include <wx/defs.h>
#include <wx/string.h>
#ifdef __WXMSW__
#include <wx/ownerdrw.h>

View File

@ -13,7 +13,6 @@
#define __AUDACITY_BATCH_COMMANDS_DIALOG__
#include <wx/defs.h>
#include <wx/string.h>
#include "export/Export.h"

View File

@ -13,8 +13,6 @@
#define __AUDACITY_MACROS_WINDOW__
#include <wx/defs.h>
#include <wx/string.h>
#ifdef __WXMSW__
#include <wx/ownerdrw.h>

View File

@ -13,7 +13,6 @@
#define __AUDACITY_BLOCKFILE__
#include "MemoryX.h"
#include <wx/string.h>
#include <wx/ffile.h>
#include <wx/filename.h>

View File

@ -13,7 +13,6 @@
#include "MemoryX.h"
#include <wx/list.h>
#include <wx/string.h>
#include <wx/filename.h>
#include <wx/hashmap.h>
#include <wx/utils.h>

View File

@ -150,7 +150,6 @@ extern "C" {
/* rather earlier than normal, but pulls in config*.h and other program stuff
* we need for the next bit */
#include <wx/string.h>
#include <wx/dynlib.h>
#include <wx/log.h> // for wxLogNull
#include <wx/utils.h>

View File

@ -15,7 +15,6 @@
#include <wx/list.h>
#include <wx/arrstr.h>
#include <wx/string.h>
#include "audacity/Types.h"

View File

@ -11,7 +11,6 @@ Paul Licameli
#ifndef __AUDACITY_HIT_TEST_RESULT__
#define __AUDACITY_HIT_TEST_RESULT__
#include <wx/string.h>
#include "MemoryX.h"
class wxCursor;

View File

@ -14,7 +14,6 @@
#include "Audacity.h"
#include <wx/string.h>
#include <wx/longlong.h>
#include <algorithm>

View File

@ -15,7 +15,6 @@
#include <wx/defs.h>
#include <wx/event.h>
#include <wx/grid.h>
#include <wx/string.h>
#include "Internat.h"
#include "widgets/Grid.h"

View File

@ -20,7 +20,6 @@
#include <wx/event.h>
#include <wx/font.h>
#include <wx/pen.h>
#include <wx/string.h>
#include <wx/clipbrd.h>

View File

@ -15,7 +15,7 @@
#ifndef __AUDACITY_LANG_CHOICE__
#define __AUDACITY_LANG_CHOICE__
#include <wx/string.h>
class wxString;
wxString ChooseLanguage(wxWindow *parent);

View File

@ -12,7 +12,6 @@
#define __AUDACITY_LANGUAGES__
#include <wx/arrstr.h>
#include <wx/string.h>
#include <wx/list.h>
void GetLanguages(wxArrayString &langCodes, wxArrayString &langNames);

View File

@ -21,7 +21,6 @@
#define __AUDACITY_MIX__
#include "MemoryX.h"
#include <wx/string.h>
#include "SampleFormat.h"
#include <vector>

View File

@ -16,7 +16,6 @@
#include "Experimental.h"
#include <utility>
#include <wx/string.h>
#include "Track.h"
#include "effects/TimeWarper.h"

View File

@ -20,7 +20,6 @@
#ifndef __AUDACITY_COMPATIBILITY__
#define __AUDACITY_COMPATIBILITY__
#include <wx/string.h>
#include "audacity/Types.h"
class PlatformCompatibility

View File

@ -13,7 +13,6 @@
#include <wx/defs.h>
#include <wx/fileconf.h>
#include <wx/string.h>
#include "MemoryX.h"
#include <map>

View File

@ -12,8 +12,8 @@
#define __AUDACITY_PRINTING__
#include <wx/defs.h>
#include <wx/string.h>
class wxString;
class wxWindow;
class TrackList;
class TrackPanel;

View File

@ -16,7 +16,6 @@
#include "MemoryX.h"
#include <wx/intl.h>
#include <wx/string.h>
#include "SampleFormat.h"

View File

@ -13,7 +13,6 @@
#include "MemoryX.h"
#include <vector>
#include <wx/string.h>
#include "SampleFormat.h"
#include "xml/XMLTagHandler.h"

View File

@ -20,7 +20,6 @@
#include "MemoryX.h"
#include <wx/grid.h>
#include <wx/sizer.h>
#include <wx/string.h>
#include "WrappedType.h"

View File

@ -17,7 +17,6 @@
#include <vector>
#include <wx/defs.h>
#include <wx/string.h>
#include "widgets/NumericTextCtrl.h"
#include "Internat.h"

View File

@ -38,7 +38,6 @@
#include <utility>
#include <wx/hashmap.h>
#include <wx/notebook.h>
#include <wx/string.h>
#include "widgets/wxPanelWrapper.h"

View File

@ -13,7 +13,6 @@
#include <wx/defs.h>
#include <wx/event.h>
#include <wx/string.h>
#include "widgets/NumericTextCtrl.h" // for NumericFormatSymbol
#include "widgets/wxPanelWrapper.h"

View File

@ -22,7 +22,6 @@
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <wx/longlong.h>
#include <wx/string.h>
#include "SampleFormat.h"
#include "tracks/ui/CommonTrackPanelCell.h"

View File

@ -52,7 +52,6 @@
#include "MemoryX.h"
#include <vector>
#include <wx/event.h>
#include <wx/string.h>
#include "ondemand/ODTaskThread.h"
#include "SelectedRegion.h"

View File

@ -11,7 +11,6 @@
#ifndef __AUDACITY_LEGACY_BLOCKFILE__
#define __AUDACITY_LEGACY_BLOCKFILE__
#include <wx/string.h>
#include <wx/filename.h>
#include "../BlockFile.h"

View File

@ -14,7 +14,6 @@
#ifndef __AUDACITY_SILENT_BLOCKFILE__
#define __AUDACITY_SILENT_BLOCKFILE__
#include <wx/string.h>
#include <wx/filename.h>
#include "../BlockFile.h"

View File

@ -11,7 +11,6 @@
#ifndef __AUDACITY_SIMPLE_BLOCKFILE__
#define __AUDACITY_SIMPLE_BLOCKFILE__
#include <wx/string.h>
#include <wx/filename.h>
#include "../BlockFile.h"

View File

@ -21,7 +21,6 @@
#include <wx/defs.h>
#include <wx/dynarray.h>
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/tglbtn.h>
#include <wx/event.h> // for idle event.

View File

@ -17,7 +17,6 @@
#define __COMMANDBUILDER__
#include "../MemoryX.h"
#include <wx/string.h>
class OldStyleCommand;
using OldStyleCommandPointer = std::shared_ptr<OldStyleCommand>;

View File

@ -11,7 +11,6 @@
#ifndef __AUDACITY_COMMAND_CONTEXT__
#define __AUDACITY_COMMAND_CONTEXT__
#include <wx/string.h>
#include <wx/event.h>
#include "audacity/Types.h"
#include "../MemoryX.h"

View File

@ -9,7 +9,6 @@
#ifndef __AUDACITY_COMMAND_FUNCTORS__
#define __AUDACITY_COMMAND_FUNCTORS__
#include <wx/string.h>
#include <wx/event.h>
#include "../MemoryX.h"
#include "Command.h"

View File

@ -22,7 +22,6 @@
#include "../MemoryX.h"
#include "Keyboard.h"
#include <vector>
#include <wx/string.h>
#include <wx/hashmap.h>
#include "../xml/XMLTagHandler.h"

View File

@ -17,7 +17,6 @@
#define __COMMANDMISC__
#include <map>
#include <wx/string.h>
#include <wx/variant.h>
#include "Validators.h"
class OldStyleCommandType;

View File

@ -57,7 +57,6 @@ and sends it to that message target.
#include "../MemoryX.h"
#include <vector>
#include <wx/string.h>
#include <wx/statusbr.h>
//#include "../src/Project.h"
#include "../widgets/ProgressDialog.h"

View File

@ -12,7 +12,6 @@
#define __AUDACITY_DEMO_COMMAND__
#include <wx/event.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "AudacityCommand.h"

View File

@ -14,7 +14,6 @@
#include <wx/defs.h>
#include <wx/event.h>
#include <wx/string.h>
struct NormalizedKeyString : private wxString
{

View File

@ -37,7 +37,7 @@ force the script thread to wait until a response is available.
#include <queue>
#include <string>
#include <wx/thread.h>
#include <wx/string.h>
#include <wx/string.h> // member variable
class wxMutex;
class wxCondition;

View File

@ -18,7 +18,6 @@
#include <wx/checkbox.h>
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "Effect.h"

View File

@ -14,7 +14,6 @@
#include <wx/bitmap.h>
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include <wx/window.h>

View File

@ -15,7 +15,6 @@
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/stattext.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include <wx/checkbox.h>

View File

@ -30,7 +30,6 @@ the pitch without changing the tempo.
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/spinctrl.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "SoundTouchEffect.h"

View File

@ -16,7 +16,6 @@
#include <wx/choice.h>
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "../widgets/NumericTextCtrl.h"

View File

@ -24,7 +24,6 @@
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "SoundTouchEffect.h"

View File

@ -18,7 +18,6 @@
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "Effect.h"

View File

@ -16,7 +16,6 @@
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <wx/slider.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/window.h>
#include "../widgets/wxPanelWrapper.h"

View File

@ -12,7 +12,6 @@
#define __AUDACITY_EFFECT_DISTORTION__
#include <wx/arrstr.h>
#include <wx/string.h>
#include <wx/slider.h>
#include <wx/textctrl.h>
#include <wx/checkbox.h>

View File

@ -17,7 +17,6 @@
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/stattext.h>
#include <wx/string.h>
#include "../widgets/NumericTextCtrl.h"

View File

@ -13,7 +13,6 @@
#define __AUDACITY_EFFECT_ECHO__
#include <wx/event.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "Effect.h"

View File

@ -23,7 +23,6 @@
#include <wx/bmpbuttn.h>
#include <wx/defs.h>
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/tglbtn.h>
#include <wx/event.h> // for idle event.

View File

@ -19,7 +19,6 @@
#include <wx/dialog.h>
#include <wx/event.h>
#include <wx/listbox.h>
#include <wx/string.h>
#include "audacity/EffectInterface.h"
#include "Effect.h"

View File

@ -26,7 +26,6 @@
#include <wx/stattext.h>
#include <wx/slider.h>
#include <wx/sizer.h>
#include <wx/string.h>
#include <wx/bitmap.h>
#include <wx/choice.h>
#include <wx/radiobut.h>

View File

@ -11,8 +11,6 @@
#ifndef __AUDACITY_EFFECT_FADE__
#define __AUDACITY_EFFECT_FADE__
#include <wx/string.h>
#include "Effect.h"
#define FADEIN_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Fade In") }

View File

@ -16,8 +16,6 @@ class wxString;
class LabelTrack;
#include <wx/string.h>
#include "Effect.h"
#define FINDCLIPPING_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Find Clipping") }

View File

@ -13,8 +13,6 @@
#ifndef __AUDACITY_EFFECT_INVERT__
#define __AUDACITY_EFFECT_INVERT__
#include <wx/string.h>
#include "Effect.h"
#define INVERT_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Invert") }

View File

@ -13,8 +13,6 @@
#ifndef __AUDACITY_EFFECT_NOISE__
#define __AUDACITY_EFFECT_NOISE__
#include <wx/string.h>
#include "../widgets/NumericTextCtrl.h"
#include "Effect.h"

View File

@ -18,7 +18,6 @@
#include <wx/checkbox.h>
#include <wx/event.h>
#include <wx/stattext.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "Effect.h"

View File

@ -10,8 +10,6 @@
#ifndef __AUDACITY_EFFECT_PAULSTRETCH__
#define __AUDACITY_EFFECT_PAULSTRETCH__
#include <wx/string.h>
#include "Effect.h"
class ShuttleGui;

View File

@ -18,7 +18,6 @@
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "Effect.h"

View File

@ -11,8 +11,6 @@
#ifndef __AUDACITY_EFFECT_REPAIR__
#define __AUDACITY_EFFECT_REPAIR__
#include <wx/string.h>
#include "Effect.h"
#define REPAIR_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Repair") }

View File

@ -12,7 +12,6 @@
#define __AUDACITY_EFFECT_REPEAT__
#include <wx/event.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>

View File

@ -16,7 +16,6 @@
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/spinctrl.h>
#include <wx/string.h>
#include "Effect.h"

View File

@ -13,8 +13,6 @@
#ifndef __AUDACITY_EFFECT_REVERSE__
#define __AUDACITY_EFFECT_REVERSE__
#include <wx/string.h>
#include "Effect.h"
#define REVERSE_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Reverse") }

View File

@ -22,7 +22,6 @@ Vaughan Johnson (Preview)
#include <wx/panel.h>
#include <wx/slider.h>
#include <wx/stattext.h>
#include <wx/string.h>
#include <wx/window.h>
#include "Biquad.h"

View File

@ -13,8 +13,6 @@
#ifndef __AUDACITY_EFFECT_SILENCE__
#define __AUDACITY_EFFECT_SILENCE__
#include <wx/string.h>
#include "../widgets/NumericTextCtrl.h"
#include "Generator.h"

View File

@ -11,8 +11,6 @@
#ifndef __AUDACITY_EFFECT_STEREO_TO_MONO__
#define __AUDACITY_EFFECT_STEREO_TO_MONO__
#include <wx/string.h>
#include "Effect.h"
#define STEREOTOMONO_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Stereo To Mono") }

View File

@ -17,7 +17,6 @@
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "SBSMSEffect.h"

View File

@ -14,7 +14,6 @@
#define __AUDACITY_EFFECT_TONEGEN__
#include <wx/arrstr.h>
#include <wx/string.h>
#include "../widgets/NumericTextCtrl.h"

View File

@ -20,7 +20,6 @@
#include <wx/arrstr.h>
#include <wx/event.h>
#include <wx/list.h>
#include <wx/string.h>
#include "Effect.h"

View File

@ -18,7 +18,6 @@
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "Effect.h"

View File

@ -20,7 +20,6 @@
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/stattext.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "lv2/lv2plug.in/ns/ext/atom/forge.h"

View File

@ -14,7 +14,6 @@
#include "../../MemoryX.h"
#include <wx/hashmap.h>
#include <wx/string.h>
#include <lilv/lilv.h>

View File

@ -19,7 +19,6 @@
#include <wx/choice.h>
#include <wx/event.h>
#include <wx/slider.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>

View File

@ -12,7 +12,6 @@
#define __AUDACITY_EXPORT_MULTIPLE__
#include <wx/dialog.h>
#include <wx/string.h>
#include <wx/listctrl.h>
#include <wx/simplebook.h>

View File

@ -16,7 +16,6 @@
#include "audacity/Types.h"
#include <vector>
#include <wx/arrstr.h>
#include <wx/string.h>
#include <wx/listbox.h>
#include <wx/tokenzr.h>

View File

@ -15,7 +15,6 @@
#include <wx/defs.h>
#include <wx/choice.h>
#include <wx/string.h>
#include <wx/window.h>
#include "PrefsPanel.h"

View File

@ -20,7 +20,6 @@ class ShuttleGui;
#include <wx/listctrl.h>
#include <wx/radiobut.h>
#include <wx/srchctrl.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include <wx/timer.h>

View File

@ -22,7 +22,6 @@ class ShuttleGui;
#include <wx/defs.h>
#include <wx/choice.h>
#include <wx/string.h>
#include <wx/window.h>
#include "PrefsPanel.h"

View File

@ -12,7 +12,6 @@
#include <wx/defs.h>
#include <wx/listctrl.h>
#include <wx/string.h>
#include <wx/window.h>
#include "PrefsPanel.h"

View File

@ -16,7 +16,6 @@
#include <wx/button.h>
#include <wx/event.h>
#include <wx/dialog.h>
#include <wx/string.h>
#include <wx/treebook.h>
#include <wx/window.h>
#include "../widgets/wxPanelWrapper.h"

View File

@ -24,7 +24,6 @@
#include "../Experimental.h"
#include <wx/defs.h>
#include <wx/string.h>
#include <wx/window.h>
#include "../WaveTrack.h"

View File

@ -17,7 +17,6 @@
#include <wx/choice.h>
#include <wx/event.h>
#include <wx/grid.h>
#include <wx/string.h>
#include <wx/window.h>
#include <wx/weakref.h>

View File

@ -18,7 +18,6 @@
#include <wx/choice.h>
#include <wx/event.h>
#include <wx/grid.h>
#include <wx/string.h>
#include <wx/window.h>
#include "NumericTextCtrl.h"
#include "../Internat.h"

View File

@ -16,7 +16,6 @@
#include <wx/setup.h> // for wxUSE_* macros
#include <wx/defs.h>
#include <wx/arrstr.h>
#include <wx/string.h>
#include <wx/vlbox.h>
#include "../commands/Keyboard.h"

View File

@ -20,7 +20,6 @@
#include <wx/brush.h>
#include <wx/defs.h>
#include <wx/gdicmn.h>
#include <wx/string.h>
#include <wx/timer.h>
#include "../SampleFormat.h"

View File

@ -25,7 +25,6 @@
#include <wx/event.h>
#include <wx/panel.h>
#include <wx/stattext.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include "../Internat.h"

View File

@ -14,7 +14,11 @@
#ifndef _WIDGETS_NUMFORMATTER_H_
#define _WIDGETS_NUMFORMATTER_H_
#include <wx/string.h>
#include <cstddef> // for size_t
#include <wx/chartype.h>
#include <wx/longlong.h>
class wxString;
#define HAS_LONG_LONG_T_DIFFERENT_FROM_LONG

View File

@ -20,7 +20,6 @@
#include "../Audacity.h" // for USE_* macros
#include <wx/string.h>
#include <stdio.h>
#include "audacity/Types.h"