mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-11 15:16:27 +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:
@@ -16,6 +16,7 @@
|
||||
#include <wx/string.h>
|
||||
|
||||
#include "Audacity.h"
|
||||
#include "audacity/Types.h"
|
||||
|
||||
#include "sndfile.h"
|
||||
|
||||
@@ -97,7 +98,7 @@ SF_FORMAT_INFO *sf_simple_format(int i);
|
||||
bool sf_subtype_more_than_16_bits(unsigned int format);
|
||||
bool sf_subtype_is_integer(unsigned int format);
|
||||
|
||||
wxArrayString sf_get_all_extensions();
|
||||
extern FileExtensions sf_get_all_extensions();
|
||||
|
||||
wxString sf_normalize_name(const char *name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user