Audacity 3.2.0
VetoDialogHook.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 @file VetoDialogHook.h
6 @brief Hook function for the screenshot utility, to show dialogs only briefly
7
8 Paul Licameli
9
10 **********************************************************************/
11
12#ifndef __AUDACITY_VETO_DIALOG_HOOK__
13#define __AUDACITY_VETO_DIALOG_HOOK__
14
15#include "GlobalVariable.h"
16
17class wxDialog;
18
20struct AUDACITY_DLL_API VetoDialogHook : GlobalHook<VetoDialogHook,
21 bool( wxDialog* )
22> {};
23
24#endif
Global function-valued variable, adding a convenient Call()
Call before Show-ing certain dialogs; don't show if it returns true.