mirror of https://github.com/aria2/aria2
2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Call setStatusRealtime() in constructor. * src/RealtimeCommand.cc * src/RealtimeCommand.hpull/1/head
parent
369aff31c2
commit
281319e8cd
|
@ -1,3 +1,9 @@
|
|||
2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Call setStatusRealtime() in constructor.
|
||||
* src/RealtimeCommand.cc
|
||||
* src/RealtimeCommand.h
|
||||
|
||||
2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Call Download::setNoWait(true) to execute newly created command without
|
||||
|
|
|
@ -38,6 +38,15 @@
|
|||
|
||||
namespace aria2 {
|
||||
|
||||
RealtimeCommand::RealtimeCommand(int cuid, RequestGroup* requestGroup,
|
||||
DownloadEngine* e):
|
||||
Command(cuid),
|
||||
RequestGroupAware(requestGroup),
|
||||
_e(e)
|
||||
{
|
||||
setStatusRealtime();
|
||||
}
|
||||
|
||||
bool RealtimeCommand::execute()
|
||||
{
|
||||
setStatusRealtime();
|
||||
|
|
|
@ -47,11 +47,7 @@ class RealtimeCommand : public Command, public RequestGroupAware {
|
|||
protected:
|
||||
DownloadEngine* _e;
|
||||
public:
|
||||
RealtimeCommand(int cuid, RequestGroup* requestGroup, DownloadEngine* e):
|
||||
Command(cuid),
|
||||
RequestGroupAware(requestGroup),
|
||||
_e(e)
|
||||
{}
|
||||
RealtimeCommand(int cuid, RequestGroup* requestGroup, DownloadEngine* e);
|
||||
|
||||
virtual ~RealtimeCommand() {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue