Audacity  3.0.3
Public Types | Public Attributes | List of all members
MenuItemEnabler Struct Reference

#include <CommandFlag.h>

Public Types

using Flags = std::function< CommandFlag() >
 
using Test = std::function< bool(const AudacityProject &) >
 
using Action = std::function< void(AudacityProject &, CommandFlag) >
 

Public Attributes

const Flags actualFlags
 
const Flags possibleFlags
 
Test applicable
 
Action tryEnable
 

Detailed Description

Definition at line 107 of file CommandFlag.h.

Member Typedef Documentation

◆ Action

using MenuItemEnabler::Action = std::function< void( AudacityProject&, CommandFlag ) >

Definition at line 110 of file CommandFlag.h.

◆ Flags

using MenuItemEnabler::Flags = std::function< CommandFlag() >

Definition at line 108 of file CommandFlag.h.

◆ Test

using MenuItemEnabler::Test = std::function< bool( const AudacityProject& ) >

Definition at line 109 of file CommandFlag.h.

Member Data Documentation

◆ actualFlags

const Flags MenuItemEnabler::actualFlags

Definition at line 112 of file CommandFlag.h.

◆ applicable

Test MenuItemEnabler::applicable

Definition at line 114 of file CommandFlag.h.

◆ possibleFlags

const Flags MenuItemEnabler::possibleFlags

Definition at line 113 of file CommandFlag.h.

◆ tryEnable

Action MenuItemEnabler::tryEnable

Definition at line 115 of file CommandFlag.h.


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