1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-26 14:41:14 +01:00

Separate versions of DoImportMIDI that do and don't assume a project

This commit is contained in:
Paul Licameli
2019-06-24 22:18:23 -04:00
parent ff2cf496cd
commit 8eca219d57
4 changed files with 35 additions and 22 deletions

View File

@@ -106,6 +106,9 @@ public:
/// Namespace for functions for File menu
namespace FileActions {
// Import into existing project
bool DoImportMIDI( AudacityProject &project, const FilePath &fileName );
// Import file, creating a project if the first argument is null
AudacityProject *DoImportMIDI(
AudacityProject *pProject, const FilePath &fileName );
}