Audacity 3.2.0
Functions
anonymous_namespace{ProjectHistory.cpp} Namespace Reference

Functions

void AutoSaveOrThrow (ProjectFileIO &projectFileIO)
 

Function Documentation

◆ AutoSaveOrThrow()

void anonymous_namespace{ProjectHistory.cpp}::AutoSaveOrThrow ( ProjectFileIO projectFileIO)

Definition at line 78 of file ProjectHistory.cpp.

79 {
80 if ( !projectFileIO.AutoSave() )
83 XO("Automatic database backup failed."),
84 XO("Warning"),
85 "Error:_Disk_full_or_not_writable"
86 };
87 }
@ Internal
Indicates internal failure from Audacity.
#define XO(s)
Definition: Internat.h:31
bool AutoSave(bool recording=false)
A MessageBoxException that shows a given, unvarying string.

References ProjectFileIO::AutoSave(), Internal, and XO.

Referenced by ProjectHistory::ModifyState(), ProjectHistory::PopState(), and ProjectHistory::PushState().

Here is the call graph for this function:
Here is the caller graph for this function: