1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

Bug 328 (P2) - do not allow writing to paths that are also missing alias files.

This commit is contained in:
mchinen
2011-04-02 23:56:02 +00:00
parent 3a7d00394f
commit 26c84929a6
3 changed files with 47 additions and 17 deletions

View File

@@ -38,23 +38,6 @@
#include "ShuttleGui.h"
#include "Track.h"
class AliasedFile
{
public:
AliasedFile(wxFileName fileName, wxLongLong byteCount, bool bOriginalExists)
{
mFileName = fileName;
mByteCount = byteCount;
mbOriginalExists = bOriginalExists;
};
wxFileName mFileName;
wxLongLong mByteCount; // if stored as current default sample format
bool mbOriginalExists;
};
WX_DECLARE_OBJARRAY(AliasedFile, AliasedFileArray);
// Note, this #include must occur here, not up with the others!
// It must be between the WX_DECLARE_OBJARRAY and WX_DEFINE_OBJARRAY.
#include <wx/arrimpl.cpp>