From b006ec60cc32c14270c0595d100c70a8ccfd20d4 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Tue, 25 Aug 2020 14:31:06 -0400 Subject: [PATCH] Change type alias names to improve Doxygen... ... Specifically the inheritance diagram showing where ClientData::Site is used --- src/Project.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Project.h b/src/Project.h index bd06e564b..c114f4178 100644 --- a/src/Project.h +++ b/src/Project.h @@ -81,12 +81,12 @@ private: // Container of various objects associated with the project, which is // responsible for destroying them -using AttachedObjects = ClientData::Site< +using AttachedProjectObjects = ClientData::Site< AudacityProject, ClientData::Base, ClientData::SkipCopying, std::shared_ptr >; // Container of pointers to various windows associated with the project, which // is not responsible for destroying them -- wxWidgets handles that instead -using AttachedWindows = ClientData::Site< +using AttachedProjectWindows = ClientData::Site< AudacityProject, wxWindow, ClientData::SkipCopying, ClientData::BarePtr >; @@ -106,13 +106,13 @@ wxDECLARE_EXPORTED_EVENT(AUDACITY_DLL_API, /// the cooperating attached objects. class AUDACITY_DLL_API AudacityProject final : public wxEvtHandler - , public AttachedObjects - , public AttachedWindows + , public AttachedProjectObjects + , public AttachedProjectWindows , public std::enable_shared_from_this { public: - using AttachedObjects = ::AttachedObjects; - using AttachedWindows = ::AttachedWindows; + using AttachedObjects = ::AttachedProjectObjects; + using AttachedWindows = ::AttachedProjectWindows; AudacityProject(); virtual ~AudacityProject();