diff --git a/FileLoader.h b/FileLoader.h index 8a83d61..8ab8464 100644 --- a/FileLoader.h +++ b/FileLoader.h @@ -17,6 +17,15 @@ class FileLoader Path(const std::string & full_path, const std::string & short_path) : fullPath(full_path), shortPath(short_path) { } + std::string toString() const + { + std::string ret; + if (shortPath != "") + ret += shortPath + ","; + if (fullPath != "") + ret += fullPath; + return ret; + } }; class Buffer