diff options
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! } |