/* */ #ifndef _D_SEGMENT_MAN_FACTORY_H_ #define _D_SEGMENT_MAN_FACTORY_H_ #include "common.h" #include "SegmentMan.h" class SegmentManFactory { public: virtual ~SegmentManFactory() {} virtual SegmentManHandle createNewInstance(const DownloadContextHandle& dc, const PieceStorageHandle& ps) = 0; }; typedef SharedHandle SegmentManFactoryHandle; #endif // _D_SEGMENT_MAN_FACTORY_H_