Index: src/libchcore/TPath.h =================================================================== diff -u -N -r751648800daaa5e2e42a48075aae11265cfd6564 -rf866db90e4b058a4f2e13cc6cf076d1e0bf2d956 --- src/libchcore/TPath.h (.../TPath.h) (revision 751648800daaa5e2e42a48075aae11265cfd6564) +++ src/libchcore/TPath.h (.../TPath.h) (revision f866db90e4b058a4f2e13cc6cf076d1e0bf2d956) @@ -78,9 +78,11 @@ bool IsRelativePath() const; bool IsDrive() const; + bool IsDriveWithRootDir() const; bool HasDrive() const; TSmartPath GetDrive() const; // c: for c:\windows\test.txt wchar_t GetDriveLetter() const; // 'c' for c:\windows\test.txt, null for non-drive based paths + TSmartPath GetDriveLetterAsPath() const; // 'c' for c:\windows\test.txt, null for non-drive based paths bool IsServerName() const; bool HasServerName() const; @@ -112,6 +114,8 @@ void PrependSeparatorIfDoesNotExist(); void StripSeparatorAtFront(); + void StripPath(const wchar_t* pszToStrip); + bool StartsWith(const TSmartPath& rPath, bool bCaseSensitive = DefaultCaseSensitivity) const; bool IsEmpty() const;