diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-08-28 15:46:49 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-08-28 15:46:49 +0000 |
| commit | f8aab322fc33194e8886eb630a01acda6c19e76b (patch) | |
| tree | d17067aa7d3b30cb47ebd51091086a33d2eff914 /src/SegmentMan.h | |
| parent | 7fb4336d5e6dbffe64fc39f84bbedd76a12237e6 (diff) | |
2007-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added auto file renaming feature in http(s)/ftp download.
* src/main.cc: Added --auto-file-renaming command-line option.
* src/OptionHandlerFactory.cc
* src/prefs.h: Added PREF_AUTO_FILE_RENAMING
* src/RequestGroup.{h, cc}
(shouldCancelDownloadForSafety): Rewritten
(tryAutoFileRenaming): New function.
* src/SegmentMan.{h, cc} (shouldCancelDownloadForSafety):
Removed.
* src/HttpResponseCommand.cc
(executeInternal): Removed the call to RequestGroupMan::
isSameFileBeingDownloaded()
* src/FtpNegotiateCommand.cc
(recvSize): Removed the call to RequestGroupMan::
isSameFileBeingDownloaded()
* test/RequestGroupTest.cc: New class.
Diffstat (limited to 'src/SegmentMan.h')
| -rw-r--r-- | src/SegmentMan.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/SegmentMan.h b/src/SegmentMan.h index 7e877e6a..fc67214a 100644 --- a/src/SegmentMan.h +++ b/src/SegmentMan.h @@ -282,8 +282,6 @@ public: bool fileExists() const; - bool shouldCancelDownloadForSafety() const; - void markAllPiecesDone(); void markPieceDone(int64_t length); |
