forked from Sneeds-Feed-and-Seed/sneedacity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAutoRecoveryDialog.h
32 lines (24 loc) · 997 Bytes
/
AutoRecoveryDialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**********************************************************************
Sneedacity: A Digital Audio Editor
AutoRecoveryDialog.h
Paul Licameli split from AutoRecovery.h
**********************************************************************/
#ifndef __SNEEDACITY_AUTO_RECOVERY_DIALOG__
#define __SNEEDACITY_AUTO_RECOVERY_DIALOG__
class SneedacityProject;
//
// Show auto recovery dialog if there are projects to recover. Should be
// called once at Sneedacity 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 Sneedacity should continue as normal
// False if Sneedacity should be quit immediately
//
// The didRecoverAnything param is strictly for a return value.
// Any value passed in is ignored.
//
bool ShowAutoRecoveryDialogIfNeeded(SneedacityProject*& pproj,
bool *didRecoverAnything);
#endif