/* */ #ifndef _D_FILE_ALLOCATION_COMMAND_H_ #define _D_FILE_ALLOCATION_COMMAND_H_ #include "RealtimeCommand.h" #include "SharedHandle.h" #include "TimeA2.h" namespace aria2 { class FileAllocationEntry; class FileAllocationCommand : public RealtimeCommand { private: SharedHandle _fileAllocationEntry; Time _timer; public: FileAllocationCommand(int 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_