Index: src/libchcore/TFileInfoArray.h =================================================================== diff -u -N -ra7834ba278464cb62739f22d35f9bc16269706a1 -ra5aa3c3cb78f3767641de2627d1a49a1dc35b429 --- src/libchcore/TFileInfoArray.h (.../TFileInfoArray.h) (revision a7834ba278464cb62739f22d35f9bc16269706a1) +++ src/libchcore/TFileInfoArray.h (.../TFileInfoArray.h) (revision a5aa3c3cb78f3767641de2627d1a49a1dc35b429) @@ -24,13 +24,10 @@ #include "libchcore.h" #include "TPath.h" +#include "TBasePathData.h" BEGIN_CHCORE_NAMESPACE -// CFileInfo flags -// flag stating that file has been processed (used to determine if file can be deleted at the end of copying) -#define FIF_PROCESSED 0x00000001 - class TFileInfo; typedef boost::shared_ptr TFileInfoPtr; @@ -65,18 +62,19 @@ void SetComplete(bool bComplete); bool IsComplete() const; - /// Stores infos about elements in the archive - void Serialize(TReadBinarySerializer& rSerializer, bool bOnlyFlags); - void Serialize(TWriteBinarySerializer& rSerializer, bool bOnlyFlags) const; + void Store(const ISerializerContainerPtr& spContainer) const; + void Load(const ISerializerContainerPtr& spContainer, const TBasePathDataContainerPtr& spBasePaths); protected: bool m_bComplete; #pragma warning(push) #pragma warning(disable: 4251) + TRemovedObjects m_setRemovedObjects; std::vector m_vFiles; mutable boost::shared_mutex m_lock; #pragma warning(pop) + size_t m_stLastObjectID; }; END_CHCORE_NAMESPACE