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