Audacity 3.2.0
|
#include "AutoRecoveryDialog.h"
#include "ActiveProjects.h"
#include "ProjectManager.h"
#include "ProjectFileIO.h"
#include "ProjectFileManager.h"
#include "ShuttleGui.h"
#include "TempDirectory.h"
#include "AudacityMessageBox.h"
#include "wxPanelWrapper.h"
#include <wx/dir.h>
#include <wx/evtloop.h>
#include <wx/filefn.h>
#include <wx/filename.h>
#include <wx/listctrl.h>
Go to the source code of this file.
Classes | |
class | AutoRecoveryDialog |
Enumerations | |
enum | { ID_QUIT_AUDACITY = 10000 , ID_DISCARD_SELECTED , ID_RECOVER_SELECTED , ID_SKIP , ID_FILE_LIST } |
Functions | |
static bool | RecoverAllProjects (const FilePaths &files, AudacityProject *&pproj) |
static void | DiscardAllProjects (const FilePaths &files) |
bool | ShowAutoRecoveryDialogIfNeeded (AudacityProject *&pproj, bool *didRecoverAnything) |
anonymous enum |
Enumerator | |
---|---|
ID_QUIT_AUDACITY | |
ID_DISCARD_SELECTED | |
ID_RECOVER_SELECTED | |
ID_SKIP | |
ID_FILE_LIST |
Definition at line 28 of file AutoRecoveryDialog.cpp.
|
static |
Definition at line 443 of file AutoRecoveryDialog.cpp.
References ProjectFileManager::DiscardAutosave().
Referenced by ShowAutoRecoveryDialogIfNeeded().
|
static |
Definition at line 419 of file AutoRecoveryDialog.cpp.
References ProjectManager::OpenProject(), and anonymous_namespace{NoteTrack.cpp}::swap().
Referenced by ShowAutoRecoveryDialogIfNeeded().
bool ShowAutoRecoveryDialogIfNeeded | ( | AudacityProject *& | pproj, |
bool * | didRecoverAnything | ||
) |
Definition at line 450 of file AutoRecoveryDialog.cpp.
References DiscardAllProjects(), AutoRecoveryDialog::GetRecoverables(), AutoRecoveryDialog::HasRecoverables(), ID_DISCARD_SELECTED, ID_RECOVER_SELECTED, ID_SKIP, and RecoverAllProjects().
Referenced by AudacityApp::InitPart2().