25 wxWeakRef< wxWindow > mPanel{};
26 wxWeakRef< wxFrame > mFrame{};
33 return std::make_unique<ProjectWindows>(
project);
#define THROW_INCONSISTENCY_EXCEPTION
Throw InconsistencyException, using C++ preprocessor to identify the source code location.
wxFrame * FindProjectFrame(AudacityProject *project)
Get a pointer to the window associated with a project, or null if the given pointer is null,...
void SetProjectFrame(AudacityProject &project, wxFrame &frame)
AUDACITY_DLL_API wxWindow & GetProjectPanel(AudacityProject &project)
Get the main sub-window of the project frame that displays track data.
AUDACITY_DLL_API void SetProjectPanel(AudacityProject &project, wxWindow &panel)
AUDACITY_DLL_API wxFrame & GetProjectFrame(AudacityProject &project)
Get the top-level window associated with the project (as a wxFrame only, when you do not need to use ...
AUDACITY_DLL_API AttachedWindows & GetAttachedWindows(AudacityProject &project)
accessors for certain important windows associated with each project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Client code makes static instance from a factory of attachments; passes it to Get or Find as a retrie...
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
const AudacityProject::AttachedObjects::RegisteredFactory key
A convenient default parameter for class template Site.
ProjectWindows(AudacityProject &project)
AttachedWindows mAttachedWindows