mirror of https://github.com/aria2/aria2
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved setStatusRealtime() from FileAllocationDispatcherCommand to SequentialDispatcherCommand. * src/FileAllocationDispatcherCommand.cc * src/SequentialDispatcherCommand.hpull/1/head
parent
a20aa3c7e5
commit
5da58fe01d
|
@ -1,3 +1,10 @@
|
|||
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Moved setStatusRealtime() from FileAllocationDispatcherCommand to
|
||||
SequentialDispatcherCommand.
|
||||
* src/FileAllocationDispatcherCommand.cc
|
||||
* src/SequentialDispatcherCommand.h
|
||||
|
||||
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Rewritten FileAllocationDispatcherCommand using brand new
|
||||
|
|
|
@ -44,10 +44,7 @@ FileAllocationDispatcherCommand::FileAllocationDispatcherCommand
|
|||
(int32_t cuid,
|
||||
const SharedHandle<FileAllocationMan>& fileAllocMan,
|
||||
DownloadEngine* e):SequentialDispatcherCommand<FileAllocationEntry>
|
||||
(cuid, fileAllocMan, e)
|
||||
{
|
||||
setStatusRealtime();
|
||||
}
|
||||
(cuid, fileAllocMan, e) {}
|
||||
|
||||
Command* FileAllocationDispatcherCommand::createCommand
|
||||
(const SharedHandle<FileAllocationEntry>& entry)
|
||||
|
|
|
@ -55,7 +55,10 @@ public:
|
|||
SequentialDispatcherCommand(int32_t cuid,
|
||||
const SharedHandle<SequentialPicker<T> >& picker,
|
||||
DownloadEngine* e):
|
||||
Command(cuid), _picker(picker), _e(e) {}
|
||||
Command(cuid), _picker(picker), _e(e)
|
||||
{
|
||||
setStatusRealtime();
|
||||
}
|
||||
|
||||
virtual bool execute()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue