mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Bug2542: Discard button of auto recovery should work with UP
This commit is contained in:
@@ -36,6 +36,9 @@ public:
|
||||
static ProjectFileManager &Get( AudacityProject &project );
|
||||
static const ProjectFileManager &Get( const AudacityProject &project );
|
||||
|
||||
// Open and close a file, invisibly, removing its Autosave blob
|
||||
static void DiscardAutosave(const FilePath &filename);
|
||||
|
||||
explicit ProjectFileManager( AudacityProject &project );
|
||||
ProjectFileManager( const ProjectFileManager & ) PROHIBITED;
|
||||
ProjectFileManager &operator=( const ProjectFileManager & ) PROHIBITED;
|
||||
@@ -48,7 +51,8 @@ public:
|
||||
const TranslatableString errorString;
|
||||
wxString helpUrl;
|
||||
};
|
||||
ReadProjectResults ReadProjectFile( const FilePath &fileName );
|
||||
ReadProjectResults ReadProjectFile(
|
||||
const FilePath &fileName, bool discardAutosave = false );
|
||||
|
||||
bool OpenProject();
|
||||
void CloseProject();
|
||||
|
||||
Reference in New Issue
Block a user