summaryrefslogtreecommitdiff
path: root/src/FileAllocationCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-06-05 11:37:25 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-06-05 11:37:25 +0000
commit2722c0591f3eda48a674748b29889d1cf46d7f71 (patch)
tree152ee2c2eef2c65e583227a1d1faf2d618adb2ea /src/FileAllocationCommand.h
parent3dd06aacfbd6c8a1a027532e34dd21c04731b309 (diff)
2007-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Make download size shown in MB, KB. * src/ConsoleDownloadEngine.h (sendStatistics) * src/Util.h, srcUtil.cc (abbrevSize): New function.
Diffstat (limited to 'src/FileAllocationCommand.h')
-rw-r--r--src/FileAllocationCommand.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/FileAllocationCommand.h b/src/FileAllocationCommand.h
index 22d77a07..84dfe652 100644
--- a/src/FileAllocationCommand.h
+++ b/src/FileAllocationCommand.h
@@ -36,19 +36,16 @@
#define _D_FILE_ALLOCATION_COMMAND_H_
#include "RealtimeCommand.h"
-#include "Request.h"
#include "TimeA2.h"
#include "FileAllocationEntry.h"
class FileAllocationCommand : public RealtimeCommand {
private:
- RequestHandle _req;
FileAllocationEntryHandle _fileAllocationEntry;
Time _timer;
public:
- FileAllocationCommand(int cuid, const RequestHandle& req, RequestGroup* requestGroup, DownloadEngine* e, const FileAllocationEntryHandle& fileAllocationEntry):
+ FileAllocationCommand(int cuid, RequestGroup* requestGroup, DownloadEngine* e, const FileAllocationEntryHandle& fileAllocationEntry):
RealtimeCommand(cuid, requestGroup, e),
- _req(req),
_fileAllocationEntry(fileAllocationEntry) {}
virtual bool executeInternal();