Audacity 3.2.0
|
#include "ActiveProject.h"
#include "KeyboardCapture.h"
#include "Project.h"
#include "ProjectWindows.h"
#include <wx/app.h>
#include <wx/frame.h>
Go to the source code of this file.
Functions | |
AUDACITY_DLL_API std::weak_ptr< AudacityProject > | GetActiveProject () |
void | SetActiveProject (AudacityProject *project) |
Variables | |
static std::weak_ptr< AudacityProject > | gActiveProject |
Audacity: A Digital Audio Editor
Paul Licameli split from Project.cpp
Definition in file ActiveProject.cpp.
AUDACITY_DLL_API std::weak_ptr< AudacityProject > GetActiveProject | ( | ) |
Definition at line 22 of file ActiveProject.cpp.
References gActiveProject.
Referenced by EVT_MENU_RANGE(), ExecCommand(), AudacityApp::InitPart2(), ProjectManager::OnCloseWindow(), AudacityApp::OnExceptionInMainLoop(), NyqBench::OnGo(), AudacityApp::OnKeyDown(), CommandHandler::OnReceiveCommand(), NyqBench::OnRunUpdate(), and AudacityApp::OnTimer().
void SetActiveProject | ( | AudacityProject * | project | ) |
Definition at line 27 of file ActiveProject.cpp.
References KeyboardCapture::Capture(), FindProjectFrame(), gActiveProject, and project.
Referenced by ProjectManager::New(), ProjectWindow::OnActivate(), ProjectManager::OnCloseWindow(), and ProjectWindow::OnMouseEvent().
|
static |
Definition at line 20 of file ActiveProject.cpp.
Referenced by GetActiveProject(), and SetActiveProject().