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

Use type aliases FileExtension, FileExtensions...

... for wxString and wxArrayStringEx, holding file extensions (without dot);
to be replaced later with different types

(not yet using std::vector, becase of some uses of wxArrayString::Index with
two arguments)

And simplify some constructions of arrays
This commit is contained in:
Paul Licameli
2019-03-07 11:29:42 -05:00
parent df6a2cf479
commit 485b6bb425
34 changed files with 100 additions and 101 deletions

View File

@@ -74,7 +74,8 @@ class MacroCommands final {
void AbortBatch();
// Utility functions for the special commands.
static wxString BuildCleanFileName(const wxString &fileName, const wxString &extension);
static wxString BuildCleanFileName(const wxString &fileName,
const FileExtension &extension);
bool WriteMp3File( const wxString & Name, int bitrate );
double GetEndTime();
static bool IsMono();