Type alias ManualPageID for wxString used in many places...
... eliminating many direct mentions of wxString. A real type distinction will be made next.
This commit is contained in:
parent
3c50935484
commit
cfbdd2d22e
|
@ -232,5 +232,7 @@ struct CommandIdTag;
|
|||
using CommandID = TaggedIdentifier< CommandIdTag, false >;
|
||||
using CommandIDs = std::vector<CommandID>;
|
||||
|
||||
using ManualPageID = wxString;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -173,7 +173,7 @@ void MacroCommandDialog::OnCancel(wxCommandEvent & WXUNUSED(event))
|
|||
|
||||
void MacroCommandDialog::OnHelp(wxCommandEvent & WXUNUSED(event))
|
||||
{
|
||||
wxString page = GetHelpPageName();
|
||||
const auto &page = GetHelpPageName();
|
||||
HelpSystem::ShowHelp(this, page, true);
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ class MacroCommandDialog final : public wxDialogWrapper {
|
|||
void OnCancel(wxCommandEvent &event);
|
||||
void OnHelp(wxCommandEvent &event);
|
||||
void OnItemSelected(wxListEvent &event);
|
||||
wxString GetHelpPageName() { return wxT("Scripting Reference") ; }
|
||||
ManualPageID GetHelpPageName() { return L"Scripting Reference" ; }
|
||||
|
||||
void ValidateChoices();
|
||||
void PopulateCommandList();
|
||||
|
|
|
@ -222,7 +222,7 @@ void ApplyMacroDialog::PopulateMacros()
|
|||
|
||||
void ApplyMacroDialog::OnHelp(wxCommandEvent & WXUNUSED(event))
|
||||
{
|
||||
wxString page = GetHelpPageName();
|
||||
const auto &page = GetHelpPageName();
|
||||
HelpSystem::ShowHelp(this, page, true);
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ class ApplyMacroDialog : public wxDialogWrapper {
|
|||
virtual void OnCancel(wxCommandEvent & event);
|
||||
virtual void OnHelp(wxCommandEvent & event);
|
||||
|
||||
virtual wxString GetHelpPageName() {return "Apply_Macro";};
|
||||
virtual ManualPageID GetHelpPageName() {return "Apply_Macro";}
|
||||
|
||||
void PopulateMacros();
|
||||
static CommandID MacroIdOfName( const wxString & MacroName );
|
||||
|
@ -87,9 +87,9 @@ private:
|
|||
void OnApplyToFiles(wxCommandEvent & event) override;
|
||||
void OnCancel(wxCommandEvent &event) override;
|
||||
|
||||
virtual wxString GetHelpPageName() override {return
|
||||
virtual ManualPageID GetHelpPageName() override {return
|
||||
mbExpanded ? "Manage_Macros"
|
||||
: "Apply_Macro";};
|
||||
: "Apply_Macro";}
|
||||
|
||||
void PopulateList();
|
||||
void AddItem(const CommandID &command, wxString const ¶ms);
|
||||
|
|
|
@ -285,7 +285,7 @@ void LabelDialog::PopulateOrExchange( ShuttleGui & S )
|
|||
|
||||
void LabelDialog::OnHelp(wxCommandEvent & WXUNUSED(event))
|
||||
{
|
||||
wxString page = GetHelpPageName();
|
||||
const auto &page = GetHelpPageName();
|
||||
HelpSystem::ShowHelp(this, page, true);
|
||||
}
|
||||
|
||||
|
|
|
@ -60,8 +60,8 @@ class LabelDialog final : public wxDialogWrapper
|
|||
void Populate();
|
||||
void PopulateOrExchange( ShuttleGui & S );
|
||||
void PopulateLabels();
|
||||
virtual void OnHelp(wxCommandEvent & event);
|
||||
virtual wxString GetHelpPageName() {return "Labels_Editor";};
|
||||
void OnHelp(wxCommandEvent & event);
|
||||
ManualPageID GetHelpPageName() {return "Labels_Editor";}
|
||||
|
||||
bool TransferDataToWindow() override;
|
||||
bool TransferDataFromWindow() override;
|
||||
|
|
|
@ -65,7 +65,7 @@ class AUDACITY_DLL_API AudacityCommand /* not final */ : public wxEvtHandler,
|
|||
{wxFAIL_MSG( "Implement a Description for this command");return XO("FAIL");};
|
||||
|
||||
// Name of page in the Audacity alpha manual
|
||||
virtual wxString ManualPage(){ return wxEmptyString;};
|
||||
virtual ManualPageID ManualPage(){ return {}; }
|
||||
virtual bool IsBatchProcessing(){ return mIsBatch;}
|
||||
virtual void SetBatchProcessing(bool start){ mIsBatch = start;};
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#compare_Audio");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#compare_Audio";}
|
||||
bool Apply(const CommandContext &context) override;
|
||||
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I";}
|
||||
|
||||
private:
|
||||
double delay;
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#move_mouse");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#move_mouse";}
|
||||
|
||||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#get_info");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#get_info";}
|
||||
bool Apply(const CommandContext &context) override;
|
||||
bool ApplyInner(const CommandContext &context);
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Tools#get_track_info");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Tools#get_track_info";}
|
||||
|
||||
bool Apply(const CommandContext &context ) override;
|
||||
public:
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
bool ApplyInner(const CommandContext & context);
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#help");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#help";}
|
||||
public:
|
||||
wxString mCommandName;
|
||||
};
|
||||
|
@ -58,7 +58,7 @@ public:
|
|||
return true;
|
||||
};
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#comment");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#comment";}
|
||||
public:
|
||||
wxString mComment;
|
||||
};
|
||||
|
|
|
@ -36,7 +36,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#import");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#import";}
|
||||
public:
|
||||
wxString mFileName;
|
||||
};
|
||||
|
@ -54,7 +54,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#export");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#export";}
|
||||
public:
|
||||
wxString mFileName;
|
||||
int mnChannels;
|
||||
|
|
|
@ -37,7 +37,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#message");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#message";}
|
||||
public:
|
||||
wxString mMessage;
|
||||
};
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#open_project");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#open_project";}
|
||||
public:
|
||||
wxString mFileName;
|
||||
bool mbAddToHistory;
|
||||
|
@ -60,7 +60,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#save_project");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#save_project";}
|
||||
public:
|
||||
wxString mFileName;
|
||||
bool mbAddToHistory;
|
||||
|
@ -80,7 +80,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#save_copy");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#save_copy";}
|
||||
public:
|
||||
wxString mFileName;
|
||||
};
|
||||
|
@ -98,7 +98,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#save_log");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#save_log";}
|
||||
public:
|
||||
wxString mFileName;
|
||||
};
|
||||
|
@ -116,7 +116,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#Clear_log");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#Clear_log";}
|
||||
public:
|
||||
wxString mFileName;
|
||||
};
|
||||
|
|
|
@ -39,7 +39,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#get_preference");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#get_preference";}
|
||||
|
||||
wxString mName;
|
||||
};
|
||||
|
@ -59,7 +59,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_preference");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#set_preference";}
|
||||
|
||||
wxString mName;
|
||||
wxString mValue;
|
||||
|
|
|
@ -87,7 +87,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#screenshot_short_format");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#screenshot_short_format";}
|
||||
|
||||
private:
|
||||
int mWhat;
|
||||
|
|
|
@ -37,7 +37,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#select_time");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#select_time";}
|
||||
|
||||
bool bHasT0;
|
||||
bool bHasT1;
|
||||
|
@ -63,7 +63,7 @@ public:
|
|||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#select_frequencies");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#select_frequencies";}
|
||||
|
||||
bool bHasBottom;
|
||||
bool bHasTop;
|
||||
|
@ -85,7 +85,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
bool Apply(const CommandContext & context) override;
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#select_tracks");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#select_tracks";}
|
||||
|
||||
bool bHasFirstTrack;
|
||||
bool bHasNumTracks;
|
||||
|
@ -123,7 +123,7 @@ public:
|
|||
mSelTracks.Apply(context);
|
||||
}
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#select");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#select";}
|
||||
private:
|
||||
SelectTimeCommand mSelTime;
|
||||
SelectFrequenciesCommand mSelFreq;
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_clip");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#set_clip";}
|
||||
bool ApplyInner( const CommandContext & context, Track * t ) override;
|
||||
|
||||
public:
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_envelope");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#set_envelope";}
|
||||
bool ApplyInner( const CommandContext & context, Track * t ) override;
|
||||
|
||||
public:
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_label");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#set_label";}
|
||||
|
||||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_project");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#set_project";}
|
||||
|
||||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_track_status");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#set_track_status";}
|
||||
bool ApplyInner( const CommandContext & context, Track * t ) override;
|
||||
|
||||
public:
|
||||
|
@ -81,7 +81,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_track_audio");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#set_track_audio";}
|
||||
bool ApplyInner( const CommandContext & context, Track * t ) override;
|
||||
|
||||
public:
|
||||
|
@ -110,7 +110,7 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_I#set_track_visuals");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_I#set_track_visuals";}
|
||||
bool ApplyInner( const CommandContext & context, Track * t ) override;
|
||||
|
||||
public:
|
||||
|
@ -150,7 +150,7 @@ public:
|
|||
ComponentInterfaceSymbol GetSymbol() override {return Symbol;};
|
||||
TranslatableString GetDescription() override {return XO("Sets various values for a track.");};
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables_II#set_track");};
|
||||
ManualPageID ManualPage() override {return L"Extra_Menu:_Scriptables_II#set_track";}
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
@ -99,9 +99,9 @@ TranslatableString EffectAmplify::GetDescription()
|
|||
return XO("Increases or decreases the volume of the audio you have selected");
|
||||
}
|
||||
|
||||
wxString EffectAmplify::ManualPage()
|
||||
ManualPageID EffectAmplify::ManualPage()
|
||||
{
|
||||
return wxT("Amplify");
|
||||
return L"Amplify";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -118,9 +118,9 @@ TranslatableString EffectAutoDuck::GetDescription()
|
|||
return XO("Reduces (ducks) the volume of one or more tracks whenever the volume of a specified \"control\" track reaches a particular level");
|
||||
}
|
||||
|
||||
wxString EffectAutoDuck::ManualPage()
|
||||
ManualPageID EffectAutoDuck::ManualPage()
|
||||
{
|
||||
return wxT("Auto_Duck");
|
||||
return L"Auto_Duck";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -98,9 +98,9 @@ TranslatableString EffectBassTreble::GetDescription()
|
|||
return XO("Simple tone control effect");
|
||||
}
|
||||
|
||||
wxString EffectBassTreble::ManualPage()
|
||||
ManualPageID EffectBassTreble::ManualPage()
|
||||
{
|
||||
return wxT("Bass_and_Treble");
|
||||
return L"Bass_and_Treble";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -150,9 +150,9 @@ TranslatableString EffectChangePitch::GetDescription()
|
|||
return XO("Changes the pitch of a track without changing its tempo");
|
||||
}
|
||||
|
||||
wxString EffectChangePitch::ManualPage()
|
||||
ManualPageID EffectChangePitch::ManualPage()
|
||||
{
|
||||
return wxT("Change_Pitch");
|
||||
return L"Change_Pitch";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -46,7 +46,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -123,9 +123,9 @@ TranslatableString EffectChangeSpeed::GetDescription()
|
|||
return XO("Changes the speed of a track, also changing its pitch");
|
||||
}
|
||||
|
||||
wxString EffectChangeSpeed::ManualPage()
|
||||
ManualPageID EffectChangeSpeed::ManualPage()
|
||||
{
|
||||
return wxT("Change_Speed");
|
||||
return L"Change_Speed";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -124,9 +124,9 @@ TranslatableString EffectChangeTempo::GetDescription()
|
|||
return XO("Changes the tempo of a selection without changing its pitch");
|
||||
}
|
||||
|
||||
wxString EffectChangeTempo::ManualPage()
|
||||
ManualPageID EffectChangeTempo::ManualPage()
|
||||
{
|
||||
return wxT("Change_Tempo");
|
||||
return L"Change_Tempo";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -93,9 +93,9 @@ TranslatableString EffectClickRemoval::GetDescription()
|
|||
return XO("Click Removal is designed to remove clicks on audio tracks");
|
||||
}
|
||||
|
||||
wxString EffectClickRemoval::ManualPage()
|
||||
ManualPageID EffectClickRemoval::ManualPage()
|
||||
{
|
||||
return wxT("Click_Removal");
|
||||
return L"Click_Removal";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -115,9 +115,9 @@ TranslatableString EffectCompressor::GetDescription()
|
|||
return XO("Compresses the dynamic range of audio");
|
||||
}
|
||||
|
||||
wxString EffectCompressor::ManualPage()
|
||||
ManualPageID EffectCompressor::ManualPage()
|
||||
{
|
||||
return wxT("Compressor");
|
||||
return L"Compressor";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -198,9 +198,9 @@ TranslatableString EffectDistortion::GetDescription()
|
|||
return XO("Waveshaping distortion effect");
|
||||
}
|
||||
|
||||
wxString EffectDistortion::ManualPage()
|
||||
ManualPageID EffectDistortion::ManualPage()
|
||||
{
|
||||
return wxT("Distortion");
|
||||
return L"Distortion";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -65,7 +65,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -110,9 +110,9 @@ TranslatableString EffectDtmf::GetDescription()
|
|||
return XO("Generates dual-tone multi-frequency (DTMF) tones like those produced by the keypad on telephones");
|
||||
}
|
||||
|
||||
wxString EffectDtmf::ManualPage()
|
||||
ManualPageID EffectDtmf::ManualPage()
|
||||
{
|
||||
return wxT("DTMF_Tones");
|
||||
return L"DTMF_Tones";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -34,7 +34,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -67,9 +67,9 @@ TranslatableString EffectEcho::GetDescription()
|
|||
return XO("Repeats the selected audio again and again");
|
||||
}
|
||||
|
||||
wxString EffectEcho::ManualPage()
|
||||
ManualPageID EffectEcho::ManualPage()
|
||||
{
|
||||
return wxT("Echo");
|
||||
return L"Echo";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -1168,14 +1168,14 @@ bool Effect::HasFactoryDefaults()
|
|||
return HasPrivateConfigGroup(GetFactoryDefaultsGroup());
|
||||
}
|
||||
|
||||
wxString Effect::ManualPage()
|
||||
ManualPageID Effect::ManualPage()
|
||||
{
|
||||
return wxEmptyString;
|
||||
return {};
|
||||
}
|
||||
|
||||
wxString Effect::HelpPage()
|
||||
FilePath Effect::HelpPage()
|
||||
{
|
||||
return wxEmptyString;
|
||||
return {};
|
||||
}
|
||||
|
||||
void Effect::SetUIFlags(unsigned flags) {
|
||||
|
|
|
@ -237,9 +237,9 @@ class AUDACITY_DLL_API Effect /* not final */ : public wxEvtHandler,
|
|||
virtual bool HasFactoryDefaults();
|
||||
|
||||
// Name of page in the Audacity alpha manual
|
||||
virtual wxString ManualPage();
|
||||
virtual ManualPageID ManualPage();
|
||||
// Fully qualified local help file name
|
||||
virtual wxString HelpPage();
|
||||
virtual FilePath HelpPage();
|
||||
|
||||
virtual void SetUIFlags(unsigned flags);
|
||||
virtual unsigned TestUIFlags(unsigned mask);
|
||||
|
|
|
@ -135,7 +135,7 @@ TranslatableString EffectManager::GetCommandDescription(const PluginID & ID)
|
|||
return {};
|
||||
}
|
||||
|
||||
wxString EffectManager::GetCommandUrl(const PluginID & ID)
|
||||
ManualPageID EffectManager::GetCommandUrl(const PluginID & ID)
|
||||
{
|
||||
Effect* pEff = GetEffect(ID);
|
||||
if( pEff )
|
||||
|
|
|
@ -96,7 +96,7 @@ public:
|
|||
TranslatableString GetCommandName(const PluginID & ID);
|
||||
CommandID GetCommandIdentifier(const PluginID & ID);
|
||||
TranslatableString GetCommandDescription(const PluginID & ID);
|
||||
wxString GetCommandUrl(const PluginID & ID);
|
||||
ManualPageID GetCommandUrl(const PluginID & ID);
|
||||
TranslatableString GetCommandTip(const PluginID & ID);
|
||||
// flags control which commands are included.
|
||||
void GetCommandDefinition(const PluginID & ID, const CommandContext & context, int flags);
|
||||
|
|
|
@ -348,14 +348,14 @@ TranslatableString EffectEqualization::GetDescription()
|
|||
return XO("Adjusts the volume levels of particular frequencies");
|
||||
}
|
||||
|
||||
wxString EffectEqualization::ManualPage()
|
||||
ManualPageID EffectEqualization::ManualPage()
|
||||
{
|
||||
// Bug 2509: Must use _ and not space in names.
|
||||
if( mOptions == kEqOptionGraphic )
|
||||
return wxT("Graphic_EQ");
|
||||
return L"Graphic_EQ";
|
||||
if( mOptions == kEqOptionCurve )
|
||||
return wxT("Filter_Curve_EQ");
|
||||
return wxT("Equalization");
|
||||
return L"Filter_Curve_EQ";
|
||||
return L"Equalization";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -103,7 +103,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -68,9 +68,9 @@ TranslatableString EffectFindClipping::GetDescription()
|
|||
return XO("Creates labels where clipping is detected");
|
||||
}
|
||||
|
||||
wxString EffectFindClipping::ManualPage()
|
||||
ManualPageID EffectFindClipping::ManualPage()
|
||||
{
|
||||
return wxT("Find_Clipping");
|
||||
return L"Find_Clipping";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -93,9 +93,9 @@ TranslatableString EffectLoudness::GetDescription()
|
|||
return XO("Sets the loudness of one or more tracks");
|
||||
}
|
||||
|
||||
wxString EffectLoudness::ManualPage()
|
||||
ManualPageID EffectLoudness::ManualPage()
|
||||
{
|
||||
return wxT("Loudness_Normalization");
|
||||
return L"Loudness_Normalization";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -91,9 +91,9 @@ TranslatableString EffectNoise::GetDescription()
|
|||
return XO("Generates one of three different types of noise");
|
||||
}
|
||||
|
||||
wxString EffectNoise::ManualPage()
|
||||
ManualPageID EffectNoise::ManualPage()
|
||||
{
|
||||
return wxT("Noise");
|
||||
return L"Noise";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -78,9 +78,9 @@ TranslatableString EffectNormalize::GetDescription()
|
|||
return XO("Sets the peak amplitude of one or more tracks");
|
||||
}
|
||||
|
||||
wxString EffectNormalize::ManualPage()
|
||||
ManualPageID EffectNormalize::ManualPage()
|
||||
{
|
||||
return wxT("Normalize");
|
||||
return L"Normalize";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -117,9 +117,9 @@ TranslatableString EffectPaulstretch::GetDescription()
|
|||
return XO("Paulstretch is only for an extreme time-stretch or \"stasis\" effect");
|
||||
}
|
||||
|
||||
wxString EffectPaulstretch::ManualPage()
|
||||
ManualPageID EffectPaulstretch::ManualPage()
|
||||
{
|
||||
return wxT("Paulstretch");
|
||||
return L"Paulstretch";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -26,7 +26,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -115,9 +115,9 @@ TranslatableString EffectPhaser::GetDescription()
|
|||
return XO("Combines phase-shifted signals with the original signal");
|
||||
}
|
||||
|
||||
wxString EffectPhaser::ManualPage()
|
||||
ManualPageID EffectPhaser::ManualPage()
|
||||
{
|
||||
return wxT("Phaser");
|
||||
return L"Phaser";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -75,9 +75,9 @@ TranslatableString EffectRepeat::GetDescription()
|
|||
return XO("Repeats the selection the specified number of times");
|
||||
}
|
||||
|
||||
wxString EffectRepeat::ManualPage()
|
||||
ManualPageID EffectRepeat::ManualPage()
|
||||
{
|
||||
return wxT("Repeat");
|
||||
return L"Repeat";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -149,9 +149,9 @@ TranslatableString EffectReverb::GetDescription()
|
|||
return XO("Adds ambience or a \"hall effect\"");
|
||||
}
|
||||
|
||||
wxString EffectReverb::ManualPage()
|
||||
ManualPageID EffectReverb::ManualPage()
|
||||
{
|
||||
return wxT("Reverb");
|
||||
return L"Reverb";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -47,7 +47,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -192,9 +192,9 @@ TranslatableString EffectScienFilter::GetDescription()
|
|||
return XO("Performs IIR filtering that emulates analog filters");
|
||||
}
|
||||
|
||||
wxString EffectScienFilter::ManualPage()
|
||||
ManualPageID EffectScienFilter::ManualPage()
|
||||
{
|
||||
return wxT("Classic_Filters");
|
||||
return L"Classic_Filters";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -50,9 +50,9 @@ TranslatableString EffectSilence::GetDescription()
|
|||
return XO("Creates audio of zero amplitude");
|
||||
}
|
||||
|
||||
wxString EffectSilence::ManualPage()
|
||||
ManualPageID EffectSilence::ManualPage()
|
||||
{
|
||||
return wxT("Silence");
|
||||
return L"Silence";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -101,9 +101,9 @@ TranslatableString EffectTimeScale::GetDescription()
|
|||
return XO("Allows continuous changes to the tempo and/or pitch");
|
||||
}
|
||||
|
||||
wxString EffectTimeScale::ManualPage()
|
||||
ManualPageID EffectTimeScale::ManualPage()
|
||||
{
|
||||
return wxT("Sliding_Stretch");
|
||||
return L"Sliding_Stretch";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -33,7 +33,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -139,11 +139,11 @@ TranslatableString EffectToneGen::GetDescription()
|
|||
: XO("Generates a constant frequency tone of one of four types");
|
||||
}
|
||||
|
||||
wxString EffectToneGen::ManualPage()
|
||||
ManualPageID EffectToneGen::ManualPage()
|
||||
{
|
||||
return mChirp
|
||||
? wxT("Chirp")
|
||||
: wxT("Tone");
|
||||
? L"Chirp"
|
||||
: L"Tone";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -168,9 +168,9 @@ TranslatableString EffectTruncSilence::GetDescription()
|
|||
return XO("Automatically reduces the length of passages where the volume is below a specified level");
|
||||
}
|
||||
|
||||
wxString EffectTruncSilence::ManualPage()
|
||||
ManualPageID EffectTruncSilence::ManualPage()
|
||||
{
|
||||
return wxT("Truncate_Silence");
|
||||
return L"Truncate_Silence";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -106,9 +106,9 @@ TranslatableString EffectWahwah::GetDescription()
|
|||
return XO("Rapid tone quality variations, like that guitar sound so popular in the 1970's");
|
||||
}
|
||||
|
||||
wxString EffectWahwah::ManualPage()
|
||||
ManualPageID EffectWahwah::ManualPage()
|
||||
{
|
||||
return wxT("Wahwah");
|
||||
return L"Wahwah";
|
||||
}
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString ManualPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -239,14 +239,14 @@ TranslatableString NyquistEffect::GetDescription()
|
|||
return mCopyright;
|
||||
}
|
||||
|
||||
wxString NyquistEffect::ManualPage()
|
||||
ManualPageID NyquistEffect::ManualPage()
|
||||
{
|
||||
return mIsPrompt
|
||||
? wxString("Nyquist_Prompt")
|
||||
: mManPage;
|
||||
}
|
||||
|
||||
wxString NyquistEffect::HelpPage()
|
||||
FilePath NyquistEffect::HelpPage()
|
||||
{
|
||||
auto paths = NyquistEffect::GetNyquistSearchPath();
|
||||
wxString fileName;
|
||||
|
|
|
@ -79,8 +79,8 @@ public:
|
|||
wxString GetVersion() override;
|
||||
TranslatableString GetDescription() override;
|
||||
|
||||
wxString ManualPage() override;
|
||||
wxString HelpPage() override;
|
||||
ManualPageID ManualPage() override;
|
||||
FilePath HelpPage() override;
|
||||
|
||||
// EffectDefinitionInterface implementation
|
||||
|
||||
|
|
|
@ -100,11 +100,11 @@ public:
|
|||
void PopulateOrExchange(ShuttleGui & S);
|
||||
void AddStuck( ShuttleGui & S, bool & bBool,
|
||||
const PrefSetter &prefSetter,
|
||||
const TranslatableString &Prompt, wxString Help );
|
||||
const TranslatableString &Prompt, const ManualPageID &Help );
|
||||
|
||||
void OnOk(wxCommandEvent &event);
|
||||
void OnCancel(wxCommandEvent &event);
|
||||
void OnHelp(const wxString &Str);
|
||||
void OnHelp(const ManualPageID &Str);
|
||||
void OnFix(const PrefSetter &setter, wxWindowID id);
|
||||
|
||||
AudacityProject &mProject;
|
||||
|
@ -154,7 +154,7 @@ QuickFixDialog::QuickFixDialog(wxWindow * pParent, AudacityProject &project) :
|
|||
|
||||
void QuickFixDialog::AddStuck( ShuttleGui & S, bool & bBool,
|
||||
const PrefSetter &prefSetter,
|
||||
const TranslatableString &Prompt, wxString Help )
|
||||
const TranslatableString &Prompt, const ManualPageID &Help )
|
||||
{
|
||||
mItem++;
|
||||
wxWindowID id = FixButtonID + mItem;
|
||||
|
@ -266,7 +266,7 @@ void QuickFixDialog::OnCancel(wxCommandEvent &event)
|
|||
EndModal(wxID_CANCEL);
|
||||
}
|
||||
|
||||
void QuickFixDialog::OnHelp(const wxString &Str)
|
||||
void QuickFixDialog::OnHelp(const ManualPageID &Str)
|
||||
{
|
||||
HelpSystem::ShowHelp(this, Str, true);
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ TranslatableString ApplicationPrefs::GetDescription()
|
|||
return XO("Preferences for Application");
|
||||
}
|
||||
|
||||
wxString ApplicationPrefs::HelpPageName()
|
||||
ManualPageID ApplicationPrefs::HelpPageName()
|
||||
{
|
||||
return "Application_Preferences";
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ class ApplicationPrefs final : public PrefsPanel
|
|||
TranslatableString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
ManualPageID HelpPageName() override;
|
||||
|
||||
private:
|
||||
void Populate();
|
||||
|
|
|
@ -45,7 +45,7 @@ TranslatableString BatchPrefs::GetDescription()
|
|||
return XO("Preferences for Batch");
|
||||
}
|
||||
|
||||
wxString BatchPrefs::HelpPageName()
|
||||
ManualPageID BatchPrefs::HelpPageName()
|
||||
{
|
||||
return "Batch_Preferences";
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
~BatchPrefs();
|
||||
ComponentInterfaceSymbol GetSymbol() override;
|
||||
TranslatableString GetDescription() override;
|
||||
wxString HelpPageName() override;
|
||||
ManualPageID HelpPageName() override;
|
||||
|
||||
bool Commit() override;
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
|
|
@ -74,7 +74,7 @@ TranslatableString DevicePrefs::GetDescription()
|
|||
return XO("Preferences for Device");
|
||||
}
|
||||
|
||||
wxString DevicePrefs::HelpPageName()
|
||||
ManualPageID DevicePrefs::HelpPageName()
|
||||
{
|
||||
return "Devices_Preferences";
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ class DevicePrefs final : public PrefsPanel
|
|||
TranslatableString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
ManualPageID HelpPageName() override;
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
private:
|
||||
|
|
|
@ -163,7 +163,7 @@ TranslatableString DirectoriesPrefs::GetDescription()
|
|||
return XO("Preferences for Directories");
|
||||
}
|
||||
|
||||
wxString DirectoriesPrefs::HelpPageName()
|
||||
ManualPageID DirectoriesPrefs::HelpPageName()
|
||||
{
|
||||
return "Directories_Preferences";
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ class DirectoriesPrefs final : public PrefsPanel
|
|||
|
||||
bool Commit() override;
|
||||
bool Validate() override;
|
||||
wxString HelpPageName() override;
|
||||
ManualPageID HelpPageName() override;
|
||||
void PopulateOrExchange(ShuttleGui &S) override;
|
||||
|
||||
private:
|
||||
|
|
|
@ -48,7 +48,7 @@ TranslatableString EffectsPrefs::GetDescription()
|
|||
return XO("Preferences for Effects");
|
||||
}
|
||||
|
||||
wxString EffectsPrefs::HelpPageName()
|
||||
ManualPageID EffectsPrefs::HelpPageName()
|
||||
{
|
||||
return "Effects_Preferences";
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ class EffectsPrefs final : public PrefsPanel
|
|||
TranslatableString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
ManualPageID HelpPageName() override;
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
private:
|
||||
|
|
|
@ -84,7 +84,7 @@ TranslatableString ExtImportPrefs::GetDescription()
|
|||
return XO("Preferences for ExtImport");
|
||||
}
|
||||
|
||||
wxString ExtImportPrefs::HelpPageName()
|
||||
ManualPageID ExtImportPrefs::HelpPageName()
|
||||
{
|
||||
return "Extended_Import_Preferences";
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ class ExtImportPrefs final : public PrefsPanel
|
|||
TranslatableString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
ManualPageID HelpPageName() override;
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// See bug #2315 for discussion. This should be reviewed
|
||||
|
|
|
@ -56,7 +56,7 @@ TranslatableString GUIPrefs::GetDescription()
|
|||
return XO("Preferences for GUI");
|
||||
}
|
||||
|
||||
wxString GUIPrefs::HelpPageName()
|
||||
ManualPageID GUIPrefs::HelpPageName()
|
||||
{
|
||||
return "Interface_Preferences";
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ class AUDACITY_DLL_API GUIPrefs final : public PrefsPanel
|
|||
TranslatableString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
ManualPageID HelpPageName() override;
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
static void GetRangeChoices(
|
||||
|
|
|
@ -43,7 +43,7 @@ TranslatableString ImportExportPrefs::GetDescription()
|
|||
return XO("Preferences for ImportExport");
|
||||
}
|
||||
|
||||
wxString ImportExportPrefs::HelpPageName()
|
||||
ManualPageID ImportExportPrefs::HelpPageName()
|
||||
{
|
||||
return "Import_-_Export_Preferences";
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ class AUDACITY_DLL_API ImportExportPrefs final : public PrefsPanel
|
|||
TranslatableString GetDescription() override;
|
||||
|
||||
bool Commit() override;
|
||||
wxString HelpPageName() override;
|
||||
ManualPageID HelpPageName() override;
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
private:
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue