2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Moved setStatusRealtime() from FileAllocationDispatcherCommand
	to SequentialDispatcherCommand.
	* src/FileAllocationDispatcherCommand.cc
	* src/SequentialDispatcherCommand.h
pull/1/head
Tatsuhiro Tsujikawa 2009-01-24 10:29:36 +00:00
parent a20aa3c7e5
commit 5da58fe01d
3 changed files with 12 additions and 5 deletions

View File

@ -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

View File

@ -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)

View File

@ -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()
{