Index: src/libchcore/TPath.h =================================================================== diff -u -N -re30c2b40bd1b533d8740edc88d80b2fb340f3466 -r886c32a98f09ae8dc24ceb6b27e5c8a75104954e --- src/libchcore/TPath.h (.../TPath.h) (revision e30c2b40bd1b533d8740edc88d80b2fb340f3466) +++ src/libchcore/TPath.h (.../TPath.h) (revision 886c32a98f09ae8dc24ceb6b27e5c8a75104954e) @@ -80,6 +80,8 @@ // other operations void Clear() throw(); + void SplitPath(std::vector& vComponents) const; + bool Compare(const TSmartPath& rPath, bool bCaseSensitive = DefaultCaseSensitivity) const; bool IsChildOf(const TSmartPath& rPath, bool bCaseSensitive = DefaultCaseSensitivity) const; @@ -88,15 +90,13 @@ void AppendIfNotExists(const wchar_t* pszPostfix, bool bCaseSensitive = DefaultCaseSensitivity); void CutIfExists(const wchar_t* pszPostfix, bool bCaseSensitive = DefaultCaseSensitivity); - bool HasLengthExtension() const; // checks if path is prefixed with "\\?\" - void AddLengthExtension(); - void DeleteLengthExtension(); - bool IsNetworkPath() const; + bool IsDrive() const; bool HasDrive() const; TSmartPath GetDrive() const; // c: for c:\windows\test.txt + bool IsServerName() const; bool HasServerName() const; TSmartPath GetServerName() const; @@ -162,7 +162,7 @@ }; LIBCHCORE_API TSmartPath PathFromString(const wchar_t* pszPath); -LIBCHCORE_API TSmartPath PathFromString(const std::wstring& strPath); +LIBCHCORE_API TSmartPath PathFromWString(const std::wstring& strPath); class LIBCHCORE_API TPathContainer {