summaryrefslogtreecommitdiff
path: root/library/db_file.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
commit98ecf620f7de377dc8ae9ad7fbd1e3b24477e138 (patch)
treefaadc6d8822c20cd3bc6f50b2a98e6c580585949 /library/db_file.h
parent3.16 (diff)
downloadFreeFileSync-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.h11
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!
}
bgstack15