Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
ToolbarMenuVisitor Struct Reference

#include <CommandManager.h>

Inheritance diagram for ToolbarMenuVisitor:
Collaboration diagram for ToolbarMenuVisitor:

Public Member Functions

 ToolbarMenuVisitor (AudacityProject &p)
 operator AudacityProject & () const
- Public Member Functions inherited from MenuVisitor
void BeginGroup (Registry::GroupItemBase &item, const Path &path) final
void EndGroup (Registry::GroupItemBase &item, const Path &) final
void Visit (Registry::SingleItem &item, const Path &path) final
virtual void DoBeginGroup (Registry::GroupItemBase &item, const Path &path)
 Groups of type MenuItems are excluded from this callback. More...
virtual void DoEndGroup (Registry::GroupItemBase &item, const Path &path)
 Groups of type MenuItems are excluded from this callback. More...
virtual void DoVisit (Registry::SingleItem &item, const Path &path)
virtual void DoSeparator ()
- Public Member Functions inherited from Registry::Visitor
virtual ~Visitor ()
virtual void BeginGroup (GroupItemBase &item, const Path &path)
virtual void EndGroup (GroupItemBase &item, const Path &path)
virtual void Visit (SingleItem &item, const Path &path)

Public Attributes


Additional Inherited Members

- Public Types inherited from Registry::Visitor
using Path = std::vector< Identifier >

Detailed Description

Definition at line 412 of file CommandManager.h.

Constructor & Destructor Documentation

◆ ToolbarMenuVisitor()

ToolbarMenuVisitor::ToolbarMenuVisitor ( AudacityProject p)

Definition at line 414 of file CommandManager.h.

414: project{ p } {}
AudacityProject & project

Referenced by anonymous_namespace{HelpMenus.cpp}::OnMenuTree().

Here is the caller graph for this function:

Member Function Documentation

◆ operator AudacityProject &()

ToolbarMenuVisitor::operator AudacityProject & ( ) const

Definition at line 415 of file CommandManager.h.

415{ return project; }

References project.

Member Data Documentation

◆ project

AudacityProject& ToolbarMenuVisitor::project

Definition at line 416 of file CommandManager.h.

Referenced by operator AudacityProject &().

The documentation for this struct was generated from the following file: