Audacity  2.2.0
Dependencies.cpp File Reference
#include "Audacity.h"
#include "Dependencies.h"
#include <wx/button.h>
#include <wx/defs.h>
#include <wx/dialog.h>
#include <wx/filename.h>
#include <wx/hashmap.h>
#include <wx/progdlg.h>
#include <wx/choice.h>
#include "BlockFile.h"
#include "DirManager.h"
#include "Internat.h"
#include "Prefs.h"
#include "Project.h"
#include "Sequence.h"
#include "ShuttleGui.h"
#include "WaveTrack.h"
#include "WaveClip.h"

Classes

class  DependencyDialog
 DependencyDialog shows dependencies of an AudacityProject on AliasedFile s. More...
 

Enumerations

enum  { FileListID = 6000, CopySelectedFilesButtonID, FutureActionChoiceID }
 

Functions

 WX_DECLARE_HASH_MAP (wxString, AliasedFile *, wxStringHash, wxStringEqual, AliasedFileHash)
 
 WX_DECLARE_HASH_MAP (BlockFile *, BlockFilePtr, wxPointerHash, wxPointerEqual, ReplacedBlockFileHash)
 
 WX_DECLARE_HASH_MAP (BlockFile *, bool, wxPointerHash, wxPointerEqual, BoolBlockFileHash)
 
static void GetAllSeqBlocks (AudacityProject *project, BlockPtrArray *outBlocks)
 
static void ReplaceBlockFiles (BlockPtrArray &blocks, ReplacedBlockFileHash &hash)
 
void FindDependencies (AudacityProject *project, AliasedFileArray &outAliasedFiles)
 
static void RemoveDependencies (AudacityProject *project, AliasedFileArray &aliasedFiles)
 
 EVT_BUTTON (wxID_NO, DependencyDialog::OnNo) EVT_BUTTON(wxID_YES
 
DependencyDialog::OnYes EVT_BUTTON (wxID_CANCEL, DependencyDialog::OnCancel) DependencyDialog
 
static const wxString kStdMsg ()
 
static const wxString kExtraMsgForMissingFiles ()
 
bool ShowDependencyDialogIfNeeded (AudacityProject *project, bool isSaving)
 

Enumeration Type Documentation

anonymous enum
Enumerator
FileListID 
CopySelectedFilesButtonID 
FutureActionChoiceID 

Function Documentation

EVT_BUTTON ( wxID_NO  ,
DependencyDialog::OnNo   
)
DependencyDialog::OnYes EVT_BUTTON ( wxID_CANCEL  ,
DependencyDialog::OnCancel   
)

References eIsCreating.

static const wxString kExtraMsgForMissingFiles ( )
static

References _().

Referenced by DependencyDialog::PopulateList().

static const wxString kStdMsg ( )
static
static void ReplaceBlockFiles ( BlockPtrArray blocks,
ReplacedBlockFileHash &  hash 
)
static

Referenced by RemoveDependencies().

bool ShowDependencyDialogIfNeeded ( AudacityProject project,
bool  isSaving 
)
WX_DECLARE_HASH_MAP ( wxString  ,
AliasedFile ,
wxStringHash  ,
wxStringEqual  ,
AliasedFileHash   
)
WX_DECLARE_HASH_MAP ( BlockFile ,
BlockFilePtr  ,
wxPointerHash  ,
wxPointerEqual  ,
ReplacedBlockFileHash   
)
WX_DECLARE_HASH_MAP ( BlockFile ,
bool  ,
wxPointerHash  ,
wxPointerEqual  ,
BoolBlockFileHash   
)