Audacity 3.2.0
|
#include <CommandFlag.h>
Public Types | |
using | Predicate = std::function< bool(const AudacityProject &) > |
using | Predicates = std::vector< Predicate > |
Public Member Functions | |
ReservedCommandFlag (const Predicate &predicate, const CommandFlagOptions &options={}) | |
Static Public Member Functions | |
static const std::vector< CommandFlagOptions > & | Options () |
static const Predicates & | RegisteredPredicates () |
Definition at line 87 of file CommandFlag.h.
using ReservedCommandFlag::Predicate = std::function< bool( const AudacityProject& ) > |
Definition at line 90 of file CommandFlag.h.
using ReservedCommandFlag::Predicates = std::vector< Predicate > |
Definition at line 91 of file CommandFlag.h.
ReservedCommandFlag::ReservedCommandFlag | ( | const Predicate & | predicate, |
const CommandFlagOptions & | options = {} |
||
) |
Definition at line 37 of file CommandFlag.cpp.
References set, anonymous_namespace{CommandFlag.cpp}::sOptions(), and anonymous_namespace{CommandFlag.cpp}::sPredicates().
|
static |
Definition at line 32 of file CommandFlag.cpp.
References anonymous_namespace{CommandFlag.cpp}::sOptions().
Referenced by CommandManager::GetUpdateFlags(), and CommandManager::TellUserWhyDisallowed().
|
static |
Definition at line 27 of file CommandFlag.cpp.
References anonymous_namespace{CommandFlag.cpp}::sPredicates().
Referenced by CommandManager::GetUpdateFlags().