mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-06 14:27:36 +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:
@@ -48,7 +48,7 @@ typedef int (*fnModuleDispatch)(ModuleDispatchTypes type);
|
||||
class Module
|
||||
{
|
||||
public:
|
||||
Module(const wxString & name);
|
||||
Module(const FilePath & name);
|
||||
virtual ~Module();
|
||||
|
||||
bool Load();
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
void * GetSymbol(const wxString &name);
|
||||
|
||||
private:
|
||||
wxString mName;
|
||||
FilePath mName;
|
||||
std::unique_ptr<wxDynamicLibrary> mLib;
|
||||
fnModuleDispatch mDispatch;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user