summaryrefslogtreecommitdiff
path: root/fileHierarchy.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:02:17 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:02:17 +0200
commitb9203ee84953006547f4afd58f405874c87bf0dc (patch)
tree9e41f1533f120e9268e86658c52458630ffd718a /fileHierarchy.h
parent3.0 (diff)
downloadFreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.gz
FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.bz2
FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.zip
3.1
Diffstat (limited to 'fileHierarchy.h')
-rw-r--r--fileHierarchy.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fileHierarchy.h b/fileHierarchy.h
index 0db44c42..9f0aec4c 100644
--- a/fileHierarchy.h
+++ b/fileHierarchy.h
@@ -9,6 +9,7 @@
#include <vector>
#include "structures.h"
#include <boost/shared_ptr.hpp>
+#include "shared/guid.h"
class DirectoryBuffer;
@@ -104,8 +105,10 @@ struct DirInformation
//save/load full directory information
const Zstring& getSyncDBFilename(); //get short filename of database file
-void saveToDisk(const BaseDirMapping& baseMapping, SelectedSide side, const Zstring& filename); //throw (FileError) -> return value always bound!
-boost::shared_ptr<const DirInformation> loadFromDisk(const Zstring& filename); //throw (FileError)
+void saveToDisk(const BaseDirMapping& baseMapping); //throw (FileError)
+
+typedef boost::shared_ptr<const DirInformation> DirInfoPtr;
+std::pair<DirInfoPtr, DirInfoPtr> loadFromDisk(const BaseDirMapping& baseMapping); //throw (FileError) -> return value always bound!
//------------------------------------------------------------------
/* class hierarchy:
bgstack15