21#include "../gui/NumeReWindow.h"
44 for (
size_t i =
LOADPATH; i < vDefaultPaths.size(); i++)
46 if (currentPath.substr(0, vDefaultPaths[i].length()) == vDefaultPaths[i])
47 return vDefaultPaths[i] +
"/.revisions" + currentPath.substr(vDefaultPaths[i].length()) +
".revisions";
52 return currentFilePath +
".revisions";
72 if (revisionPath.length())
94 if (revisionPath.length())
95 return wxFileExists(revisionPath);
std::vector< std::string > getPathDefs()
This member function returns the standard path definitions as a vector.
bool hasRevisions(const wxString ¤tFile)
This method detects, whether the selected file has revisions.
wxString getRevisionPath(const wxString ¤tFilePath)
This method returns the path, where the revisions are stored.
FileRevisions * getRevisions(const wxString ¤tFile)
This method returns the file revisions as pointer.
std::string replacePathSeparator(const std::string &)
This function replaces the Windows style path sparators to UNIX style.