Audacity 3.2.0
Public Member Functions | List of all members
PreferencesResetHandler::Registration< HandlerType > Struct Template Referencefinal

Performs single-time global handler registration. More...

#include <Prefs.h>

Inheritance diagram for PreferencesResetHandler::Registration< HandlerType >:
[legend]

Public Member Functions

template<typename... Args>
 Registration (Args &&... args)
 

Detailed Description

template<typename HandlerType>
struct PreferencesResetHandler::Registration< HandlerType >

Performs single-time global handler registration.

Definition at line 569 of file Prefs.h.

Constructor & Destructor Documentation

◆ Registration()

template<typename HandlerType >
template<typename... Args>
PreferencesResetHandler::Registration< HandlerType >::Registration ( Args &&...  args)
inline

Definition at line 572 of file Prefs.h.

572 {
573 Register(std::make_unique<HandlerType>(std::forward<Args>(args)...));
574 }
static void Register(std::unique_ptr< PreferencesResetHandler > handler)
Definition: Prefs.cpp:495

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