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