summaryrefslogtreecommitdiff
path: root/src/SleepCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-02-18 05:13:21 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-02-18 05:13:21 +0000
commit5752a554bff85455ab0c54ed6e982c6bb5807a8b (patch)
tree7f7a42c5ae1d6aea983c8694153e0fa499ffa1b2 /src/SleepCommand.h
parent62d3659410d99609c9fa6399c488d4069e1a4272 (diff)
* Added Referer support.
* Added referer command-line option. * Added rety-wait command-line option. * Fixed formating bug in Exception::setMsg()
Diffstat (limited to 'src/SleepCommand.h')
-rw-r--r--src/SleepCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SleepCommand.h b/src/SleepCommand.h
index c737076c..6d75cd86 100644
--- a/src/SleepCommand.h
+++ b/src/SleepCommand.h
@@ -30,9 +30,10 @@ class SleepCommand:public Command {
private:
DownloadEngine* engine;
Command* nextCommand;
+ int wait;
struct timeval checkPoint;
public:
- SleepCommand(int cuid, DownloadEngine* e, Command* nextCommand);
+ SleepCommand(int cuid, DownloadEngine* e, Command* nextCommand, int wait);
~SleepCommand();
bool execute();
};