Audacity 3.2.0
Public Member Functions | List of all members
CommandDirectory::RegisterType Struct Reference

#include <CommandDirectory.h>

Public Member Functions

 RegisterType (std::unique_ptr< OldStyleCommandType > type)

Detailed Description

Register a type of command with the directory with a statically constructed instance of this class.

Definition at line 40 of file CommandDirectory.h.

Constructor & Destructor Documentation

◆ RegisterType()

CommandDirectory::RegisterType::RegisterType ( std::unique_ptr< OldStyleCommandType type)

Definition at line 41 of file CommandDirectory.h.

42 { AddCommand( std::move( type ) ); }
static void AddCommand(std::unique_ptr< OldStyleCommandType > type)

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