Index: src/libchcore/TPath.h =================================================================== diff -u -N -r7b830c34855c8aaa81aac2c6e0ca0fa6bae95e66 -r27c262eb9cae55720e10f4886af6b5a82cb94fe9 --- src/libchcore/TPath.h (.../TPath.h) (revision 7b830c34855c8aaa81aac2c6e0ca0fa6bae95e66) +++ src/libchcore/TPath.h (.../TPath.h) (revision 27c262eb9cae55720e10f4886af6b5a82cb94fe9) @@ -100,8 +100,10 @@ bool HasFileName() const; // test.txt for c:\windows\test.txt TSmartPath GetFileName() const; // test.txt for c:\windows\test.txt - void DeleteFileName(); // test.txt for c:\windows\test.txt + void DeleteFileName(); // c:\windows\ for c:\windows\test.txt + TSmartPath GetParent() const; + bool EndsWithSeparator() const; void AppendSeparatorIfDoesNotExist(); void StripSeparatorAtEnd(); @@ -110,6 +112,8 @@ void PrependSeparatorIfDoesNotExist(); void StripSeparatorAtFront(); + bool StartsWith(const TSmartPath& rPath, bool bCaseSensitive = DefaultCaseSensitivity); + bool IsEmpty() const; size_t GetLength() const;