22 static std::vector< CommandFlagOptions > theOptions;
40 static size_t sNextReservedFlag = 0;
43 set( sNextReservedFlag++ );
std::vector< MenuItemEnabler > MenuItemEnablers
static const Predicates & RegisteredPredicates()
std::function< bool(const AudacityProject &) > Predicate
static const std::vector< CommandFlagOptions > & Options()
std::vector< Predicate > Predicates
ReservedCommandFlag(const Predicate &predicate, const CommandFlagOptions &options={})
std::vector< CommandFlagOptions > & sOptions()
MenuItemEnablers & sEnablers()
ReservedCommandFlag::Predicates & sPredicates()