summaryrefslogtreecommitdiff
path: root/src/TimedHaltCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-04-02 14:23:59 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-04-02 14:23:59 +0000
commit730f7449aefd5537709dcec64a2ef9973a2bc595 (patch)
treea7284a4925c7728720a7351690f0c8d5af0fa4a0 /src/TimedHaltCommand.h
parent4c694b95854c0849380b30787159d265f2bd1b5e (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.h5
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();