mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-07 15:22:34 +02:00
... leaving AutoRecovery as a lower-level file, to be used by ProjectHistory for auto-save, and not including ProjectManager. The new file floats to a high level of the graph, but AutoRecovery.cpp remains in the big strongly connected component.
33 lines
981 B
C++
33 lines
981 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
AutoRecoveryDialog.h
|
|
|
|
Paul Licameli split from AutoRecovery.h
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_AUTO_RECOVERY_DIALOG__
|
|
#define __AUDACITY_AUTO_RECOVERY_DIALOG__
|
|
|
|
class AudacityProject;
|
|
|
|
//
|
|
// Show auto recovery dialog if there are projects to recover. Should be
|
|
// called once at Audacity startup.
|
|
//
|
|
// This function possibly opens NEW project windows while it recovers all
|
|
// projects. If so, it will re-use *pproj, if != NULL and set it to NULL.
|
|
//
|
|
// Returns: True, if the start of Audacity should continue as normal
|
|
// False if Audacity should be quit immediately
|
|
//
|
|
// The didRecoverAnything param is strictly for a return value.
|
|
// Any value passed in is ignored.
|
|
//
|
|
bool ShowAutoRecoveryDialogIfNeeded(AudacityProject** pproj,
|
|
bool *didRecoverAnything);
|
|
|
|
#endif
|