diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:13:13 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:13:13 +0200 |
commit | 7f23ee90fd545995a29e2175f15e8b97e59ca67a (patch) | |
tree | f8d0afac51995032e58b9a475ccbbc73ba207baf /shared/file_handling.h | |
parent | 3.19 (diff) | |
download | FreeFileSync-7f23ee90fd545995a29e2175f15e8b97e59ca67a.tar.gz FreeFileSync-7f23ee90fd545995a29e2175f15e8b97e59ca67a.tar.bz2 FreeFileSync-7f23ee90fd545995a29e2175f15e8b97e59ca67a.zip |
3.20
Diffstat (limited to 'shared/file_handling.h')
-rw-r--r-- | shared/file_handling.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/shared/file_handling.h b/shared/file_handling.h index 0ee4b1e9..113168f3 100644 --- a/shared/file_handling.h +++ b/shared/file_handling.h @@ -3,7 +3,7 @@ // * GNU General Public License: http://www.gnu.org/licenses/gpl.html * // * Copyright (C) 2008-2011 ZenJu (zhnmju123 AT gmx.de) * // ************************************************************************** -// + #ifndef FILE_HANDLING_H_INCLUDED #define FILE_HANDLING_H_INCLUDED @@ -25,13 +25,15 @@ bool somethingExists(const Zstring& objname); //throw() check whether any //check whether two folders are located on the same (logical) volume //left and right directories NEED NOT yet exist! volume prefix is sufficient! path may end with PATH_SEPARATOR -enum ResponseSameVol +enum ResponseSame { - VOLUME_SAME, - VOLUME_DIFFERENT, - VOLUME_CANT_SAY + IS_SAME_YES, + IS_SAME_NO, + IS_SAME_CANT_SAY }; -ResponseSameVol onSameVolume(const Zstring& folderLeft, const Zstring& folderRight); //throw() +ResponseSame onSameVolume(const Zstring& folderLeft, const Zstring& folderRight); //throw() + +void checkthis(const Zstring& folderLeft); //throw() //copy file or directory create/last change date, void copyFileTimes(const Zstring& sourceDir, const Zstring& targetDir, bool derefSymlinks); //throw (FileError) |