/* */ #ifndef D_FILE_ALLOCATION_ITERATOR_H #define D_FILE_ALLOCATION_ITERATOR_H #include "common.h" #include "SharedHandle.h" #include namespace aria2 { class FileAllocationIterator { public: virtual ~FileAllocationIterator() {} virtual void allocateChunk() = 0; virtual bool finished() = 0; virtual off_t getCurrentLength() = 0; virtual uint64_t getTotalLength() = 0; }; } // namespace aria2 #endif // D_FILE_ALLOCATION_ITERATOR_H