diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:11:56 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:11:56 +0200 |
commit | 98ecf620f7de377dc8ae9ad7fbd1e3b24477e138 (patch) | |
tree | faadc6d8822c20cd3bc6f50b2a98e6c580585949 /library/db_file.h | |
parent | 3.16 (diff) | |
download | FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.gz FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.bz2 FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.zip |
3.17
Diffstat (limited to 'library/db_file.h')
-rw-r--r-- | library/db_file.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/library/db_file.h b/library/db_file.h index 8b88473d..179ebd57 100644 --- a/library/db_file.h +++ b/library/db_file.h @@ -7,24 +7,21 @@ #ifndef DBFILE_H_INCLUDED #define DBFILE_H_INCLUDED +#include "../shared/file_error.h" #include "../file_hierarchy.h" -namespace ffs3 +namespace zen { void saveToDisk(const BaseDirMapping& baseMapping); //throw (FileError) struct DirInformation { - BaseFilter::FilterRef filter; //filter settings (used when retrieving directory data) + HardFilter::FilterRef filter; //filter settings (used when retrieving directory data) DirContainer baseDirContainer; //hierarchical directory information }; typedef boost::shared_ptr<const DirInformation> DirInfoPtr; -class FileErrorDatabaseNotExisting : public FileError -{ -public: - FileErrorDatabaseNotExisting(const wxString& message) : FileError(message) {} -}; +DEFINE_NEW_FILE_ERROR(FileErrorDatabaseNotExisting); std::pair<DirInfoPtr, DirInfoPtr> loadFromDisk(const BaseDirMapping& baseMapping); //throw (FileError, FileErrorDatabaseNotExisting) -> return value always bound! } |