Audacity 3.2.0
AutoRecoveryDialog.h
Go to the documentation of this file.
1/**********************************************************************
2
3Audacity: A Digital Audio Editor
4
5AutoRecoveryDialog.h
6
7Paul Licameli split from AutoRecovery.h
8
9**********************************************************************/
10
11#ifndef __AUDACITY_AUTO_RECOVERY_DIALOG__
12#define __AUDACITY_AUTO_RECOVERY_DIALOG__
13
14class AudacityProject;
15
16//
17// Show auto recovery dialog if there are projects to recover. Should be
18// called once at Audacity startup.
19//
20// This function possibly opens NEW project windows while it recovers all
21// projects. If so, it will re-use *pproj, if != NULL and set it to NULL.
22//
23// Returns: True, if the start of Audacity should continue as normal
24// False if Audacity should be quit immediately
25//
26// The didRecoverAnything param is strictly for a return value.
27// Any value passed in is ignored.
28//
30 bool *didRecoverAnything);
31
32#endif
bool ShowAutoRecoveryDialogIfNeeded(AudacityProject *&pproj, bool *didRecoverAnything)
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90