1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-29 23:29:41 +02:00

Change type alias names to improve Doxygen...

... Specifically the inheritance diagram showing where ClientData::Site is used
This commit is contained in:
Paul Licameli 2020-08-25 14:31:06 -04:00
parent 47588baffc
commit b006ec60cc

View File

@ -81,12 +81,12 @@ private:
// Container of various objects associated with the project, which is // Container of various objects associated with the project, which is
// responsible for destroying them // responsible for destroying them
using AttachedObjects = ClientData::Site< using AttachedProjectObjects = ClientData::Site<
AudacityProject, ClientData::Base, ClientData::SkipCopying, std::shared_ptr AudacityProject, ClientData::Base, ClientData::SkipCopying, std::shared_ptr
>; >;
// Container of pointers to various windows associated with the project, which // Container of pointers to various windows associated with the project, which
// is not responsible for destroying them -- wxWidgets handles that instead // is not responsible for destroying them -- wxWidgets handles that instead
using AttachedWindows = ClientData::Site< using AttachedProjectWindows = ClientData::Site<
AudacityProject, wxWindow, ClientData::SkipCopying, ClientData::BarePtr AudacityProject, wxWindow, ClientData::SkipCopying, ClientData::BarePtr
>; >;
@ -106,13 +106,13 @@ wxDECLARE_EXPORTED_EVENT(AUDACITY_DLL_API,
/// the cooperating attached objects. /// the cooperating attached objects.
class AUDACITY_DLL_API AudacityProject final class AUDACITY_DLL_API AudacityProject final
: public wxEvtHandler : public wxEvtHandler
, public AttachedObjects , public AttachedProjectObjects
, public AttachedWindows , public AttachedProjectWindows
, public std::enable_shared_from_this<AudacityProject> , public std::enable_shared_from_this<AudacityProject>
{ {
public: public:
using AttachedObjects = ::AttachedObjects; using AttachedObjects = ::AttachedProjectObjects;
using AttachedWindows = ::AttachedWindows; using AttachedWindows = ::AttachedProjectWindows;
AudacityProject(); AudacityProject();
virtual ~AudacityProject(); virtual ~AudacityProject();