/* */ #ifndef _D_STREAM_FILE_ALLOCATION_ENTRY_H_ #define _D_STREAM_FILE_ALLOCATION_ENTRY_H_ #include "FileAllocationEntry.h" #include "TimeA2.h" namespace aria2 { class Request; class StreamFileAllocationEntry : public FileAllocationEntry { private: SharedHandle _currentRequest; Time _timer; public: StreamFileAllocationEntry(const SharedHandle& currentRequest, RequestGroup* requestGroup, Command* nextCommand = 0); virtual ~StreamFileAllocationEntry(); virtual std::deque prepareForNextAction(DownloadEngine* e); }; typedef SharedHandle StreamFileAllocationEntryHandle; typedef std::deque StreamFileAllocationEntries; } // namespace aria2 #endif // _D_STREAM_FILE_ALLOCATION_ENTRY_H_