Audacity 3.2.0
ProjectFSCK.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 ProjectFSCK.h
6
7 A function that performs consistency checks on the tree of block files
8
9 Paul Licameli split this out of DirManager.h
10
11**********************************************************************/
12
13#ifndef __AUDACITY_PROJECT_FSCK__
14#define __AUDACITY_PROJECT_FSCK__
15
16class DirManager;
17
18enum : unsigned {
21 FSCKstatus_SAVE_AUP = 0x4, // used in combination with FSCKstatus_CHANGED
22};
23
24// Check the project for errors and possibly prompt user
25// bForceError: Always show log error alert even if no errors are found here.
26// Important when you know that there are already errors in the log.
27// bAutoRecoverMode: Do not show any option dialogs for how to deal with errors found here.
28// Too complicated during auto-recover. Just correct problems the "safest" way.
29int ProjectFSCK(
30 DirManager &dm, const bool bForceError, const bool bAutoRecoverMode);
31
32#endif
@ FSCKstatus_CHANGED
Definition: ProjectFSCK.h:20
@ FSCKstatus_CLOSE_REQ
Definition: ProjectFSCK.h:19
@ FSCKstatus_SAVE_AUP
Definition: ProjectFSCK.h:21
int ProjectFSCK(DirManager &dm, const bool bForceError, const bool bAutoRecoverMode)
Definition: ProjectFSCK.cpp:32