Audacity  2.2.0
DirManager.cpp File Reference
#include "Audacity.h"
#include "DirManager.h"
#include "MemoryX.h"
#include <time.h>
#include <wx/defs.h>
#include <wx/app.h>
#include <wx/dir.h>
#include <wx/log.h>
#include <wx/filefn.h>
#include <wx/hash.h>
#include <wx/msgdlg.h>
#include <wx/progdlg.h>
#include <wx/timer.h>
#include <wx/intl.h>
#include <wx/file.h>
#include <wx/filename.h>
#include <wx/object.h>
#include "AudacityApp.h"
#include "AudacityException.h"
#include "BlockFile.h"
#include "FileException.h"
#include "blockfile/LegacyBlockFile.h"
#include "blockfile/LegacyAliasBlockFile.h"
#include "blockfile/SimpleBlockFile.h"
#include "blockfile/SilentBlockFile.h"
#include "blockfile/PCMAliasBlockFile.h"
#include "blockfile/ODPCMAliasBlockFile.h"
#include "blockfile/ODDecodeBlockFile.h"
#include "InconsistencyException.h"
#include "Internat.h"
#include "Project.h"
#include "Prefs.h"
#include "Sequence.h"
#include "widgets/Warning.h"
#include "widgets/MultiDialog.h"
#include "ondemand/ODManager.h"
#include "Track.h"

Functions

wxMemorySize GetFreeMemory ()
 
static int RecursivelyEnumerate (wxString dirPath, wxArrayString &filePathArray, wxString dirspec, wxString filespec, bool bFiles, bool bDirs, int progress_count=0, int progress_bias=0, ProgressDialog *progress=NULL)
 
static int RecursivelyEnumerateWithProgress (wxString dirPath, wxArrayString &filePathArray, wxString dirspec, wxString filespec, bool bFiles, bool bDirs, int progress_count, const wxChar *message)
 
static int RecursivelyCountSubdirs (wxString dirPath)
 
static int RecursivelyRemoveEmptyDirs (wxString dirPath, int nDirCount=0, ProgressDialog *pProgress=NULL)
 
static void RecursivelyRemove (wxArrayString &filePathArray, int count, int bias, int flags, const wxChar *message=NULL)
 
static unsigned int hexchar_to_int (unsigned int x)
 

Function Documentation

wxMemorySize GetFreeMemory ( )
static unsigned int hexchar_to_int ( unsigned int  x)
inlinestatic
static int RecursivelyCountSubdirs ( wxString  dirPath)
static

References name.

Referenced by DirManager::ProjectFSCK().

static int RecursivelyEnumerate ( wxString  dirPath,
wxArrayString &  filePathArray,
wxString  dirspec,
wxString  filespec,
bool  bFiles,
bool  bDirs,
int  progress_count = 0,
int  progress_bias = 0,
ProgressDialog progress = NULL 
)
static
static int RecursivelyEnumerateWithProgress ( wxString  dirPath,
wxArrayString &  filePathArray,
wxString  dirspec,
wxString  filespec,
bool  bFiles,
bool  bDirs,
int  progress_count,
const wxChar *  message 
)
static
static void RecursivelyRemove ( wxArrayString &  filePathArray,
int  count,
int  bias,
int  flags,
const wxChar *  message = NULL 
)
static
static int RecursivelyRemoveEmptyDirs ( wxString  dirPath,
int  nDirCount = 0,
ProgressDialog pProgress = NULL 
)
static

References name.

Referenced by DirManager::ProjectFSCK().