added toString() to FileLoader
git-svn-id: svn://anubis/misc/FileLoader@237 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
parent
393c227cce
commit
ab0b8157f4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user