diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-04-02 14:23:59 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-04-02 14:23:59 +0000 |
| commit | 730f7449aefd5537709dcec64a2ef9973a2bc595 (patch) | |
| tree | a7284a4925c7728720a7351690f0c8d5af0fa4a0 /src/TimedHaltCommand.h | |
| parent | 4c694b95854c0849380b30787159d265f2bd1b5e (diff) | |
2010-04-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added forceHalt argument to TimedHaltCommand.
Added requestForceHalt() to DownloadEngine.
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/TimedHaltCommand.cc
* src/TimedHaltCommand.h
Diffstat (limited to 'src/TimedHaltCommand.h')
| -rw-r--r-- | src/TimedHaltCommand.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/TimedHaltCommand.h b/src/TimedHaltCommand.h index fe7880ab..0a8a8014 100644 --- a/src/TimedHaltCommand.h +++ b/src/TimedHaltCommand.h @@ -40,8 +40,11 @@ namespace aria2 { class TimedHaltCommand:public TimeBasedCommand { +private: + bool _forceHalt; public: - TimedHaltCommand(cuid_t cuid, DownloadEngine* e, time_t secondsToHalt); + TimedHaltCommand + (cuid_t cuid, DownloadEngine* e, time_t secondsToHalt, bool forceHalt=false); virtual ~TimedHaltCommand(); |
