diff --git a/ChangeLog b/ChangeLog index 5e3e7729..aecf3815 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-01-24 Tatsuhiro Tsujikawa + + Moved setStatusRealtime() from FileAllocationDispatcherCommand to + SequentialDispatcherCommand. + * src/FileAllocationDispatcherCommand.cc + * src/SequentialDispatcherCommand.h + 2009-01-24 Tatsuhiro Tsujikawa Rewritten FileAllocationDispatcherCommand using brand new diff --git a/src/FileAllocationDispatcherCommand.cc b/src/FileAllocationDispatcherCommand.cc index 5e5e996c..ba33aa0b 100644 --- a/src/FileAllocationDispatcherCommand.cc +++ b/src/FileAllocationDispatcherCommand.cc @@ -44,10 +44,7 @@ FileAllocationDispatcherCommand::FileAllocationDispatcherCommand (int32_t cuid, const SharedHandle& fileAllocMan, DownloadEngine* e):SequentialDispatcherCommand - (cuid, fileAllocMan, e) -{ - setStatusRealtime(); -} + (cuid, fileAllocMan, e) {} Command* FileAllocationDispatcherCommand::createCommand (const SharedHandle& entry) diff --git a/src/SequentialDispatcherCommand.h b/src/SequentialDispatcherCommand.h index 6fad70ca..49b80f17 100644 --- a/src/SequentialDispatcherCommand.h +++ b/src/SequentialDispatcherCommand.h @@ -55,7 +55,10 @@ public: SequentialDispatcherCommand(int32_t cuid, const SharedHandle >& picker, DownloadEngine* e): - Command(cuid), _picker(picker), _e(e) {} + Command(cuid), _picker(picker), _e(e) + { + setStatusRealtime(); + } virtual bool execute() {