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>
|
2008-09-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
Call Download::setNoWait(true) to execute newly created command without
|
Call Download::setNoWait(true) to execute newly created command without
|
||||||
|
|
|
@ -38,6 +38,15 @@
|
||||||
|
|
||||||
namespace aria2 {
|
namespace aria2 {
|
||||||
|
|
||||||
|
RealtimeCommand::RealtimeCommand(int cuid, RequestGroup* requestGroup,
|
||||||
|
DownloadEngine* e):
|
||||||
|
Command(cuid),
|
||||||
|
RequestGroupAware(requestGroup),
|
||||||
|
_e(e)
|
||||||
|
{
|
||||||
|
setStatusRealtime();
|
||||||
|
}
|
||||||
|
|
||||||
bool RealtimeCommand::execute()
|
bool RealtimeCommand::execute()
|
||||||
{
|
{
|
||||||
setStatusRealtime();
|
setStatusRealtime();
|
||||||
|
|
|
@ -47,11 +47,7 @@ class RealtimeCommand : public Command, public RequestGroupAware {
|
||||||
protected:
|
protected:
|
||||||
DownloadEngine* _e;
|
DownloadEngine* _e;
|
||||||
public:
|
public:
|
||||||
RealtimeCommand(int cuid, RequestGroup* requestGroup, DownloadEngine* e):
|
RealtimeCommand(int cuid, RequestGroup* requestGroup, DownloadEngine* e);
|
||||||
Command(cuid),
|
|
||||||
RequestGroupAware(requestGroup),
|
|
||||||
_e(e)
|
|
||||||
{}
|
|
||||||
|
|
||||||
virtual ~RealtimeCommand() {}
|
virtual ~RealtimeCommand() {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue