mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-31 19:44:54 +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:
@@ -40,15 +40,15 @@ class ModulePrefs final : public PrefsPanel
|
||||
wxString HelpPageName() override;
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
static int GetModuleStatus( const wxString &fname );
|
||||
static void SetModuleStatus( const wxString &fname, int iStatus );
|
||||
static int GetModuleStatus( const FilePath &fname );
|
||||
static void SetModuleStatus( const FilePath &fname, int iStatus );
|
||||
|
||||
private:
|
||||
void GetAllModuleStatuses();
|
||||
void Populate();
|
||||
wxArrayString mModules;
|
||||
std::vector<int> mStatuses;
|
||||
wxArrayString mPaths;
|
||||
FilePaths mPaths;
|
||||
};
|
||||
|
||||
/// A PrefsPanelFactory that creates one ModulePrefs panel.
|
||||
|
||||
Reference in New Issue
Block a user