Remove unused EraseFiles and EraseItems functions

Günther Brammer 2011-11-02 21:34:04 +01:00
parent cb3ae45c2f
commit 91e3a0ca07
2 changed files with 1 additions and 13 deletions

View File

@ -544,11 +544,6 @@ bool EraseFile(const char *szFilename)
#endif
}
bool EraseFiles(const char *szFilePath)
{
return ForEachFile(szFilePath,&EraseFile) > 0;
}
#ifndef _WIN32
bool CopyFile(const char *szSource, const char *szTarget, bool FailIfExists)
{
@ -868,12 +863,7 @@ bool CreateItem(const char *szItemname)
// Success
return true;
}
#ifdef _WIN32
bool EraseItems(const char *szItemPath)
{
return ForEachFile(szItemPath,&EraseItem) > 0;
}
#endif
bool CopyItem(const char *szSource, const char *szTarget, bool fResetAttributes)
{
// Check for identical source and target

View File

@ -98,7 +98,6 @@ size_t FileSize(const char *fname);
size_t FileSize(int fdes);
int FileTime(const char *fname);
bool EraseFile(const char *szFileName);
bool EraseFiles(const char *szFilePath);
bool RenameFile(const char *szFileName, const char *szNewFileName);
bool MakeOriginalFilename(char *szFilename);
void MakeFilenameFromTitle(char *szTitle);
@ -111,7 +110,6 @@ bool ItemIdentical(const char *szFilename1, const char *szFilename2);
inline bool ItemExists(const char *szItemName) { return FileExists(szItemName); }
bool RenameItem(const char *szItemName, const char *szNewItemName);
bool EraseItem(const char *szItemName);
bool EraseItems(const char *szItemPath);
bool CopyItem(const char *szSource, const char *szTarget, bool fResetAttributes=false);
bool CreateItem(const char *szItemname);
bool MoveItem(const char *szSource, const char *szTarget);