Audacity 3.2.0
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
MenuTable::FinderScope Class Reference

#include <CommandManager.h>

Inheritance diagram for MenuTable::FinderScope:
[legend]
Collaboration diagram for MenuTable::FinderScope:
[legend]

Public Member Functions

 FinderScope (CommandHandlerFinder finder)
 

Static Public Member Functions

static CommandHandlerFinder DefaultFinder ()
 

Static Private Attributes

static CommandHandlerFinder sFinder
 

Additional Inherited Members

- Private Member Functions inherited from ValueRestorer< CommandHandlerFinder >
 ValueRestorer (CommandHandlerFinder &var)
 
 ValueRestorer (CommandHandlerFinder &var, const CommandHandlerFinder &newValue)
 
 ValueRestorer (ValueRestorer &&that)
 
ValueRestoreroperator= (ValueRestorer &&that)
 

Detailed Description

Definition at line 485 of file CommandManager.h.

Constructor & Destructor Documentation

◆ FinderScope()

MenuTable::FinderScope::FinderScope ( CommandHandlerFinder  finder)
inlineexplicit

Definition at line 493 of file CommandManager.h.

494 : ValueRestorer( sFinder, finder )
495 {}
static CommandHandlerFinder sFinder
ValueRestorer(CommandHandlerFinder &var)
Definition: MemoryX.h:216

Member Function Documentation

◆ DefaultFinder()

static CommandHandlerFinder MenuTable::FinderScope::DefaultFinder ( )
inlinestatic

Definition at line 490 of file CommandManager.h.

490{ return sFinder; }

Member Data Documentation

◆ sFinder

CommandHandlerFinder MenuTable::FinderScope::sFinder
staticprivate
Initial value:
=
wxASSERT( false );
return project;
}
wxEvtHandler CommandHandlerObject
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:89

Definition at line 487 of file CommandManager.h.


The documentation for this class was generated from the following files: