diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:56:14 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:56:14 +0200 |
commit | 1046c195a9bbac24678c06310a4dd56b10347244 (patch) | |
tree | 89ad9f6fe3e538d65ef973b628ed9284b6c99e9f /library/fileHandling.h | |
parent | 1.14 (diff) | |
download | FreeFileSync-1046c195a9bbac24678c06310a4dd56b10347244.tar.gz FreeFileSync-1046c195a9bbac24678c06310a4dd56b10347244.tar.bz2 FreeFileSync-1046c195a9bbac24678c06310a4dd56b10347244.zip |
1.15
Diffstat (limited to 'library/fileHandling.h')
-rw-r--r-- | library/fileHandling.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/fileHandling.h b/library/fileHandling.h index cd86333b..5578ce91 100644 --- a/library/fileHandling.h +++ b/library/fileHandling.h @@ -8,21 +8,21 @@ class FileError //Exception class used to notify file/directory copy/delete errors { public: - FileError(const wxString& txt) : errorMessage(txt) {} + FileError(const Zstring& txt) : errorMessage(txt) {} - wxString show() const + Zstring show() const { return errorMessage; } private: - wxString errorMessage; + Zstring errorMessage; }; namespace FreeFileSync { - void getAllFilesAndDirs(const Zstring& sourceDir, vector<Zstring>& files, vector<Zstring>& directories) throw(FileError); + void getAllFilesAndDirs(const Zstring& sourceDir, std::vector<Zstring>& files, std::vector<Zstring>& directories) throw(FileError); //recycler bool recycleBinExists(); //test existence of Recycle Bin API on current system |