summaryrefslogtreecommitdiff
path: root/src/SingleFileDownloadContext.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-06-14 11:12:20 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-06-14 11:12:20 +0000
commit39472a64ebd7d73ccbbc9b084a6e7b22febe36e3 (patch)
tree925b8e71ffeeeb488fa9d9c8db08e1825d39a615 /src/SingleFileDownloadContext.h
parent9120e79ff1d4c1c1b9ec80cb4081d132e253c2c3 (diff)
2009-06-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
DownloadContext now has _fileEntries so that DownloadContext::getFileEntries() can returns its const reference. * src/DefaultBtContext.cc * src/DefaultBtContext.h * src/DownloadContext.cc * src/DownloadContext.h * src/SingleFileDownloadContext.cc * src/SingleFileDownloadContext.h
Diffstat (limited to 'src/SingleFileDownloadContext.h')
-rw-r--r--src/SingleFileDownloadContext.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/SingleFileDownloadContext.h b/src/SingleFileDownloadContext.h
index 6a254c88..1375ba5c 100644
--- a/src/SingleFileDownloadContext.h
+++ b/src/SingleFileDownloadContext.h
@@ -36,17 +36,18 @@
#define _D_SINGLE_FILE_DOWNLOAD_CONTEXT_H_
#include "DownloadContext.h"
-#include "A2STR.h"
+
#include <string>
#include <deque>
+#include "A2STR.h"
+
namespace aria2 {
class SingleFileDownloadContext:public DownloadContext
{
private:
size_t _pieceLength;
- SharedHandle<FileEntry> _fileEntry;
/**
* _filename and _ufilename may contains directory path name. So
* /usr/local/aria2c is acceptable here. These should be complete
@@ -95,8 +96,6 @@ public:
return SINGLE;
}
- virtual std::deque<SharedHandle<FileEntry> > getFileEntries() const;
-
virtual size_t getPieceLength() const
{
return _pieceLength;