/* */ #ifndef _D_FILE_ALLOCATION_ITERATOR_H_ #define _D_FILE_ALLOCATION_ITERATOR_H_ #include "common.h" class FileAllocationIterator { public: virtual ~FileAllocationIterator() {} virtual void allocateChunk() = 0; virtual bool finished() = 0; virtual int64_t getCurrentLength() = 0; virtual int64_t getTotalLength() = 0; }; typedef SharedHandle FileAllocationIteratorHandle; #endif // _D_FILE_ALLOCATION_ITERATOR_H_