summaryrefslogtreecommitdiff
path: root/shared/file_handling.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:33 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:33 +0200
commit6fcfe73ca751f068978ce201094b17cf2dfe4d20 (patch)
treee7d85e8f9057430b480cd0e2f5ccb43c9d2ef8f8 /shared/file_handling.h
parent3.15 (diff)
downloadFreeFileSync-6fcfe73ca751f068978ce201094b17cf2dfe4d20.tar.gz
FreeFileSync-6fcfe73ca751f068978ce201094b17cf2dfe4d20.tar.bz2
FreeFileSync-6fcfe73ca751f068978ce201094b17cf2dfe4d20.zip
3.16
Diffstat (limited to 'shared/file_handling.h')
-rw-r--r--shared/file_handling.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/shared/file_handling.h b/shared/file_handling.h
index 1d68c399..8867bb04 100644
--- a/shared/file_handling.h
+++ b/shared/file_handling.h
@@ -19,9 +19,9 @@ struct CallbackMoveFile;
struct CallbackCopyFile;
-bool fileExists( const Zstring& filename); //throw() replaces wxFileExists()
-bool dirExists( const Zstring& dirname); //throw() replaces wxDirExists()
-bool symlinkExists( const Zstring& objname); //throw() check whether a symbolic link exists
+bool fileExists (const Zstring& filename); //throw() replaces wxFileExists()
+bool dirExists (const Zstring& dirname); //throw() replaces wxDirExists()
+bool symlinkExists (const Zstring& objname); //throw() check whether a symbolic link exists
bool somethingExists(const Zstring& objname); //throw() check whether any object with this name exists
//check whether two folders are located on the same (logical) volume
@@ -42,7 +42,7 @@ wxULongLong getFilesize(const Zstring& filename); //throw (FileError)
//file handling
-void removeFile(const Zstring& filename); //throw (FileError)
+bool removeFile(const Zstring& filename); //return "true" if file was actually deleted; throw (FileError)
void removeDirectory(const Zstring& directory, CallbackRemoveDir* callback = NULL); //throw (FileError)
@@ -85,7 +85,7 @@ void copySymlink(const Zstring& sourceLink, const Zstring& targetLink, SymlinkTy
struct CallbackRemoveDir
{
virtual ~CallbackRemoveDir() {}
- virtual void requestUiRefresh(const Zstring& currentObject) = 0;
+ virtual void notifyDeletion(const Zstring& currentObject) = 0;
};
bgstack15