/* */ #ifndef D_FILE_ALLOCATION_COMMAND_H #define D_FILE_ALLOCATION_COMMAND_H #include "RealtimeCommand.h" #include "SharedHandle.h" #include "TimerA2.h" namespace aria2 { class FileAllocationEntry; class FileAllocationCommand : public RealtimeCommand { private: SharedHandle fileAllocationEntry_; Timer timer_; public: FileAllocationCommand(cuid_t cuid, RequestGroup* requestGroup, DownloadEngine* e, const SharedHandle& fileAllocationEntry); virtual ~FileAllocationCommand(); virtual bool executeInternal(); virtual bool handleException(Exception& e); }; } // namespace aria2 #endif // D_FILE_ALLOCATION_COMMAND_H