Audacity 3.2.0
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 111 of file CommandFlag.h.

Member Typedef Documentation

◆ Action

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

Definition at line 114 of file CommandFlag.h.

◆ Flags

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

Definition at line 112 of file CommandFlag.h.

◆ Test

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

Definition at line 113 of file CommandFlag.h.

Member Data Documentation

◆ actualFlags

const Flags MenuItemEnabler::actualFlags

Definition at line 116 of file CommandFlag.h.

◆ applicable

Test MenuItemEnabler::applicable

Definition at line 118 of file CommandFlag.h.

◆ possibleFlags

const Flags MenuItemEnabler::possibleFlags

Definition at line 117 of file CommandFlag.h.

◆ tryEnable

Action MenuItemEnabler::tryEnable

Definition at line 119 of file CommandFlag.h.


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