diff options
Diffstat (limited to 'algorithm.h')
-rw-r--r-- | algorithm.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/algorithm.h b/algorithm.h index 2e642f63..1d01f2b5 100644 --- a/algorithm.h +++ b/algorithm.h @@ -37,7 +37,7 @@ void setActiveStatus(bool newStatus, FileSystemObject& fsObj); //activate or //manual deletion of files on main grid -std::pair<wxString, int> deleteFromGridAndHDPreview( //returns wxString with elements to be deleted and total count +std::pair<wxString, int> deleteFromGridAndHDPreview( //returns wxString with elements to be deleted and total count of selected(!) objects, NOT total files/dirs! const std::vector<FileSystemObject*>& rowsToDeleteOnLeft, //all pointers need to be bound! const std::vector<FileSystemObject*>& rowsToDeleteOnRight, // const bool deleteOnBothSides); @@ -56,8 +56,7 @@ public: virtual Response reportError(const wxString& errorMessage) = 0; //virtual void totalFilesToDelete(int objectsTotal) = 0; //informs about the total number of files to be deleted - virtual void deletionSuccessful(size_t deletedItems) = 0; //called for each file/folder that has been deleted - + virtual void notifyDeletion(const Zstring& currentObject) = 0; //called for each file/folder that has been deleted }; void deleteFromGridAndHD(FolderComparison& folderCmp, //attention: rows will be physically deleted! std::vector<FileSystemObject*>& rowsToDeleteOnLeft, //refresh GUI grid after deletion to remove invalid rows |