![]() |
Audacity 3.2.0
|
#include "ImportMIDI.h"
#include <wx/defs.h>
#include <wx/ffile.h>
#include <wx/frame.h>
#include "../lib-src/header-substitutes/allegro.h"
#include "FileNames.h"
#include "../NoteTrack.h"
#include "Project.h"
#include "ProjectFileIO.h"
#include "ProjectHistory.h"
#include "../ProjectWindow.h"
#include "ProjectWindows.h"
#include "SelectFile.h"
#include "../SelectUtilities.h"
#include "AudacityMessageBox.h"
#include "../widgets/FileHistory.h"
#include "../commands/CommandContext.h"
#include "../commands/CommandManager.h"
#include "../CommonCommandFlags.h"
Go to the source code of this file.
Namespaces | |
namespace | anonymous_namespace{ImportMIDI.cpp} |
Functions | |
bool | DoImportMIDI (AudacityProject &project, const FilePath &fileName) |
bool | ImportMIDI (const FilePath &fName, NoteTrack *dest) |
void | anonymous_namespace{ImportMIDI.cpp}::OnImportMIDI (const CommandContext &context) |
Variables | |
AttachedItem | anonymous_namespace{ImportMIDI.cpp}::sAttachment |
bool DoImportMIDI | ( | AudacityProject & | project, |
const FilePath & | fileName | ||
) |
Definition at line 39 of file ImportMIDI.cpp.
References FileHistory::Append(), fn, ProjectFileIO::Get(), ProjectHistory::Get(), TrackList::Get(), ProjectWindow::Get(), PlayableTrack::GetSolo(), FileHistory::Global(), ImportMIDI(), ProjectHistory::PushState(), SelectUtilities::SelectNone(), AudacityProject::SetInitialImportPath(), AudacityProject::SetProjectName(), XO(), and ProjectWindow::ZoomAfterImport().
Referenced by DoImportMIDIProject(), anonymous_namespace{ImportMIDI.cpp}::OnImportMIDI(), and ProjectFileManager::OpenFile().
Definition at line 85 of file ImportMIDI.cpp.
References AudacityMessageBox(), Track::SetName(), Track::SetOffset(), NoteTrack::SetSequence(), wxT(), XO(), and NoteTrack::ZoomAllNotes().
Referenced by DoImportMIDI().