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>
|
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Rewritten FileAllocationDispatcherCommand using brand new
|
Rewritten FileAllocationDispatcherCommand using brand new
|
||||||
|
|
|
@ -44,10 +44,7 @@ FileAllocationDispatcherCommand::FileAllocationDispatcherCommand
|
||||||
(int32_t cuid,
|
(int32_t cuid,
|
||||||
const SharedHandle<FileAllocationMan>& fileAllocMan,
|
const SharedHandle<FileAllocationMan>& fileAllocMan,
|
||||||
DownloadEngine* e):SequentialDispatcherCommand<FileAllocationEntry>
|
DownloadEngine* e):SequentialDispatcherCommand<FileAllocationEntry>
|
||||||
(cuid, fileAllocMan, e)
|
(cuid, fileAllocMan, e) {}
|
||||||
{
|
|
||||||
setStatusRealtime();
|
|
||||||
}
|
|
||||||
|
|
||||||
Command* FileAllocationDispatcherCommand::createCommand
|
Command* FileAllocationDispatcherCommand::createCommand
|
||||||
(const SharedHandle<FileAllocationEntry>& entry)
|
(const SharedHandle<FileAllocationEntry>& entry)
|
||||||
|
|
|
@ -55,7 +55,10 @@ public:
|
||||||
SequentialDispatcherCommand(int32_t cuid,
|
SequentialDispatcherCommand(int32_t cuid,
|
||||||
const SharedHandle<SequentialPicker<T> >& picker,
|
const SharedHandle<SequentialPicker<T> >& picker,
|
||||||
DownloadEngine* e):
|
DownloadEngine* e):
|
||||||
Command(cuid), _picker(picker), _e(e) {}
|
Command(cuid), _picker(picker), _e(e)
|
||||||
|
{
|
||||||
|
setStatusRealtime();
|
||||||
|
}
|
||||||
|
|
||||||
virtual bool execute()
|
virtual bool execute()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue