mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Split AutoRecoveryDialog.cpp from AutoRecovery.cpp...
... 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.
This commit is contained in:
32
src/AutoRecoveryDialog.h
Normal file
32
src/AutoRecoveryDialog.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/**********************************************************************
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user