summaryrefslogtreecommitdiff
path: root/file_hierarchy.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
commitb338e29fd3eaf700f8c8360aa0310048ba941d54 (patch)
tree122f8ef3790d12cd10275ef7453a9e8053322d78 /file_hierarchy.h
parent3.18 (diff)
downloadFreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.gz
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.bz2
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.zip
3.19
Diffstat (limited to 'file_hierarchy.h')
-rw-r--r--file_hierarchy.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/file_hierarchy.h b/file_hierarchy.h
index 75db798d..1b4f244b 100644
--- a/file_hierarchy.h
+++ b/file_hierarchy.h
@@ -8,7 +8,6 @@
#define FILEHIERARCHY_H_INCLUDED
#include "shared/zstring.h"
-#include "shared/system_constants.h"
#include <map>
#include <set>
#include <vector>
@@ -131,11 +130,6 @@ struct DirContainer
//------------------------------------------------------------------
-//save/load full directory information
-const Zstring& getSyncDBFilename(); //get short filename of database file
-const Zstring SYNC_DB_FILE_ENDING = Zstr("ffs_db");
-
-//------------------------------------------------------------------
/* class hierarchy:
FileSystemObject HierarchyObject
@@ -195,7 +189,7 @@ public:
protected:
//constructor used by DirMapping
HierarchyObject(const HierarchyObject& parent, const Zstring& shortName) :
- relNamePf( parent.getRelativeNamePf() + shortName + common::FILE_NAME_SEPARATOR),
+ relNamePf( parent.getRelativeNamePf() + shortName + FILE_NAME_SEPARATOR),
baseDirLeft( parent.baseDirLeft),
baseDirRight(parent.baseDirRight) {}
@@ -246,10 +240,10 @@ public:
filter(filterIn) {}
const HardFilter::FilterRef& getFilter() const;
- template <SelectedSide side> Zstring getDBFilename() const;
virtual void swap();
private:
+ //this member is currently not used by the business logic -> may be removed!
HardFilter::FilterRef filter;
};
@@ -735,7 +729,7 @@ const Zstring& FileSystemObject::getObjShortName() const
inline
const Zstring FileSystemObject::getParentRelativeName() const
{
- return nameBuffer.parentRelNamePf.BeforeLast(common::FILE_NAME_SEPARATOR); //returns empty string if char not found
+ return nameBuffer.parentRelNamePf.BeforeLast(FILE_NAME_SEPARATOR); //returns empty string if char not found
}
@@ -1014,14 +1008,6 @@ const HardFilter::FilterRef& BaseDirMapping::getFilter() const
}
-template <SelectedSide side>
-inline
-Zstring BaseDirMapping::getDBFilename() const
-{
- return getBaseDir<side>() + getSyncDBFilename();
-}
-
-
inline
void FileMapping::swap()
{
bgstack15