Audacity 3.2.0
|
Call before Show
-ing certain dialogs; don't show if it returns true.
More...
#include <VetoDialogHook.h>
Additional Inherited Members | |
Public Types inherited from GlobalHook< VetoDialogHook, bool(wxDialog *) > | |
using | result_type = typename std::function< bool(wxDialog *) >::result_type |
using | Scope = typename GlobalVariable< VetoDialogHook, const std::function< bool(wxDialog *) >, nullptr, Options... >::Scope |
Public Types inherited from GlobalVariable< VetoDialogHook, const std::function< bool(wxDialog *) >, nullptr, Options... > | |
using | variable_type = GlobalVariable |
using | stored_type = const std::function< bool(wxDialog *) > |
using | mutable_type = std::remove_const_t< const std::function< bool(wxDialog *) > > |
Static Public Member Functions inherited from GlobalHook< VetoDialogHook, bool(wxDialog *) > | |
static result_type | Call (Arguments &&...arguments) |
Null check of the installed function is done for you. More... | |
Static Public Member Functions inherited from GlobalVariable< VetoDialogHook, const std::function< bool(wxDialog *) >, nullptr, Options... > | |
static stored_type & | Get () |
Get the installed value. More... | |
static auto | Set (std::conditional_t< ScopedOnly, dummy, mutable_type > replacement) -> std::conditional_t< ScopedOnly, void, mutable_type > |
Move in a new value, move out and return the previous. More... | |
Call before Show
-ing certain dialogs; don't show if it returns true.
Definition at line 20 of file VetoDialogHook.h.