Audacity  3.0.3
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  }

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:
XO
#define XO(s)
Definition: Internat.h:31
ProjectFileIO::AutoSave
bool AutoSave(bool recording=false)
Definition: ProjectFileIO.cpp:1689
ExceptionType::Internal
@ Internal
Indicates internal failure from Audacity.
SimpleMessageBoxException
A MessageBoxException that shows a given, unvarying string.
Definition: AudacityException.h:95