1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Use type aliases FilePath, FilePaths...

... for wxString and wxArrayStringEx, holding file paths (absolute or relative,
directory or plain file); to be replaced later with different types

(not yet using std::vector, becase of some uses of wxArrayString::Index with
two arguments)
This commit is contained in:
Paul Licameli
2019-03-07 14:50:22 -05:00
parent 485b6bb425
commit a30000cf74
80 changed files with 371 additions and 342 deletions

View File

@@ -694,7 +694,7 @@ void AudioUnitEffectImportDialog::PopulateOrExchange(ShuttleGui & S)
S.AddStandardButtons();
wxArrayString presets;
FilePaths presets;
// Make sure the user preset directory exists
wxString path;

View File

@@ -243,7 +243,7 @@ public:
void Terminate() override;
FileExtensions GetFileExtensions() override;
wxString InstallPath() override { return {}; }
FilePath InstallPath() override { return {}; }
bool AutoRegisterPlugins(PluginManagerInterface & pm) override;
PluginPaths FindPluginPaths(PluginManagerInterface & pm) override;