Audacity  2.2.0
AutoRecovery.cpp File Reference
#include "AutoRecovery.h"
#include "Audacity.h"
#include "FileNames.h"
#include "blockfile/SimpleBlockFile.h"
#include "Sequence.h"
#include "ShuttleGui.h"
#include <wx/wxprec.h>
#include <wx/filefn.h>
#include <wx/dir.h>
#include <wx/dialog.h>
#include <wx/app.h>
#include "WaveTrack.h"
#include <wx/arrimpl.cpp>

Classes

class  AutoRecoveryDialog
 The AutoRecoveryDialog prompts the user whether to recover previous Audacity projects that were closed incorrectly. More...
 

Enumerations

enum  { ID_RECOVER_ALL = 10000, ID_RECOVER_NONE, ID_QUIT_AUDACITY, ID_FILE_LIST }
 
enum  FieldTypes {
  FT_StartTag, FT_EndTag, FT_String, FT_Int,
  FT_Bool, FT_Long, FT_LongLong, FT_SizeT,
  FT_Float, FT_Double, FT_Data, FT_Raw,
  FT_Push, FT_Pop, FT_Name
}
 

Functions

static bool HaveFilesToRecover ()
 
static bool RemoveAllAutoSaveFiles ()
 
static bool RecoverAllProjects (AudacityProject **pproj)
 
bool ShowAutoRecoveryDialogIfNeeded (AudacityProject **pproj, bool *didRecoverAnything)
 
 WX_DEFINE_OBJARRAY (IdMapArray)
 

Enumeration Type Documentation

anonymous enum
Enumerator
ID_RECOVER_ALL 
ID_RECOVER_NONE 
ID_QUIT_AUDACITY 
ID_FILE_LIST 
enum FieldTypes

AutoSaveFile class

Enumerator
FT_StartTag 
FT_EndTag 
FT_String 
FT_Int 
FT_Bool 
FT_Long 
FT_LongLong 
FT_SizeT 
FT_Float 
FT_Double 
FT_Data 
FT_Raw 
FT_Push 
FT_Pop 
FT_Name 

Function Documentation

static bool HaveFilesToRecover ( )
static
static bool RecoverAllProjects ( AudacityProject **  pproj)
static
static bool RemoveAllAutoSaveFiles ( )
static
bool ShowAutoRecoveryDialogIfNeeded ( AudacityProject **  pproj,
bool *  didRecoverAnything 
)
WX_DEFINE_OBJARRAY ( IdMapArray  )