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

#include <CommandManager.h>

Inheritance diagram for ToolbarMenuVisitor:
[legend]
Collaboration diagram for ToolbarMenuVisitor:
[legend]

Public Member Functions

 ToolbarMenuVisitor (AudacityProject &p)
 
 operator AudacityProject & () const
 
- Public Member Functions inherited from MenuVisitor
void BeginGroup (Registry::GroupItem &item, const Path &path) final
 
void EndGroup (Registry::GroupItem &item, const Path &) final
 
void Visit (Registry::SingleItem &item, const Path &path) final
 
virtual void DoBeginGroup (Registry::GroupItem &item, const Path &path)
 
virtual void DoEndGroup (Registry::GroupItem &item, const Path &path)
 
virtual void DoVisit (Registry::SingleItem &item, const Path &path)
 
virtual void DoSeparator ()
 
- Public Member Functions inherited from Registry::Visitor
virtual ~Visitor ()
 

Public Attributes

AudacityProjectproject
 

Additional Inherited Members

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

Detailed Description

Definition at line 408 of file CommandManager.h.

Constructor & Destructor Documentation

◆ ToolbarMenuVisitor()

ToolbarMenuVisitor::ToolbarMenuVisitor ( AudacityProject p)
inlineexplicit

Definition at line 410 of file CommandManager.h.

410 : project{ p } {}

Referenced by HelpActions::Handler::OnMenuTree().

Here is the caller graph for this function:

Member Function Documentation

◆ operator AudacityProject &()

ToolbarMenuVisitor::operator AudacityProject & ( ) const
inline

Definition at line 411 of file CommandManager.h.

411 { return project; }

References project.

Member Data Documentation

◆ project

AudacityProject& ToolbarMenuVisitor::project

Definition at line 412 of file CommandManager.h.

Referenced by operator AudacityProject &().


The documentation for this struct was generated from the following file:
ToolbarMenuVisitor::project
AudacityProject & project
Definition: CommandManager.h:412