Index: src/ch/TLocalFilesystem.h =================================================================== diff -u -N -r6df9b4cff81dedf8c5571a98702b584b061eac09 -rd12e49decb8a3df3e28f6786d38542390484ac07 --- src/ch/TLocalFilesystem.h (.../TLocalFilesystem.h) (revision 6df9b4cff81dedf8c5571a98702b584b061eac09) +++ src/ch/TLocalFilesystem.h (.../TLocalFilesystem.h) (revision d12e49decb8a3df3e28f6786d38542390484ac07) @@ -26,8 +26,11 @@ #include "../libchcore/TPath.h" #include -class CFileInfo; -typedef boost::shared_ptr CFileInfoPtr; +namespace chcore +{ + class CFileInfo; + typedef boost::shared_ptr CFileInfoPtr; +} class TAutoFileHandle; class TLocalFilesystemFind; @@ -60,7 +63,7 @@ static bool RemoveDirectory(const chcore::TSmartPath& pathFile); static bool DeleteFile(const chcore::TSmartPath& pathFile); - static bool GetFileInfo(const chcore::TSmartPath& pathFile, CFileInfoPtr& rFileInfo, size_t stSrcIndex = std::numeric_limits::max(), const chcore::TPathContainer* pBasePaths = NULL); + static bool GetFileInfo(const chcore::TSmartPath& pathFile, chcore::CFileInfoPtr& rFileInfo, size_t stSrcIndex = std::numeric_limits::max(), const chcore::TPathContainer* pBasePaths = NULL); static bool FastMove(const chcore::TSmartPath& pathSource, const chcore::TSmartPath& pathDestination); static TLocalFilesystemFind CreateFinderObject(const chcore::TSmartPath& pathDir, const chcore::TSmartPath& pathMask); @@ -88,7 +91,7 @@ public: ~TLocalFilesystemFind(); - bool FindNext(CFileInfoPtr& rspFileInfo); + bool FindNext(chcore::CFileInfoPtr& rspFileInfo); void Close(); private: