diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-02-22 16:01:54 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-02-22 16:01:54 +0000 |
| commit | 44beebd257b0fb265bea5387850b9beb33c0adc2 (patch) | |
| tree | 0ec08e4aad18ccff2d578aca1c0b3799d2716c6c /src/DownloadCommand.h | |
| parent | d027ca8e7c383e9755d6fb997e8a880df99e88b9 (diff) | |
| parent | 87a229cab18679042beb06076e5dec1dcfadaeae (diff) | |
Tagging release 0.2.0 of aria2release-0.2.0
Diffstat (limited to 'src/DownloadCommand.h')
| -rw-r--r-- | src/DownloadCommand.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DownloadCommand.h b/src/DownloadCommand.h index 0ea9d680..3dd374e7 100644 --- a/src/DownloadCommand.h +++ b/src/DownloadCommand.h @@ -29,12 +29,15 @@ using namespace std; class DownloadCommand : public AbstractCommand { +private: + struct timeval sw; + long long int lastSize; protected: bool executeInternal(Segment segment); bool prepareForRetry(int wait); bool prepareForNextSegment(); - + void onAbort(Exception* ex); public: DownloadCommand(int cuid, Request* req, DownloadEngine* e, Socket* s); virtual ~DownloadCommand(); |
