summaryrefslogtreecommitdiff
path: root/src/DownloadEngine.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-11-14 10:10:38 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-11-14 10:10:38 +0000
commita31dbb580475e392047197f1784f880198bcc020 (patch)
treed9cf072a517c9404cfcd920a5ed2e95369541f15 /src/DownloadEngine.h
parent8cba9bc24ce69884df603d6f825c279695c62c87 (diff)
2007-11-14 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added ifdef and some modifications to compile without BitTorrent, Metalink, MessageDigest support. * src/PieceHashCheckIntegrityEntry.cc * src/MetalinkEntry.h * src/version_usage.cc * src/main.cc * src/DownloadEngine.{h, cc} * src/Metalink2RequestGroup.cc * src/Peer.cc * src/RequestGroup.cc * src/MetalinkHelper.cc * test/DefaultPieceStorageTest.cc * test/MetalinkPostDownloadHandlerTest.cc * test/Metalink2RequestGroupTest.cc Hide TOTAL SPD when all downloads complete. * src/ConsoleStatCalc.cc Log target system information. * src/main.cc
Diffstat (limited to 'src/DownloadEngine.h')
-rw-r--r--src/DownloadEngine.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/DownloadEngine.h b/src/DownloadEngine.h
index a1486b66..17a0c09c 100644
--- a/src/DownloadEngine.h
+++ b/src/DownloadEngine.h
@@ -51,10 +51,8 @@ class FileAllocationMan;
extern typedef SharedHandle<FileAllocationMan> FileAllocationManHandle;
class StatCalc;
extern typedef SharedHandle<StatCalc> StatCalcHandle;
-#ifdef ENABLE_MESSAGE_DIGEST
class CheckIntegrityMan;
extern typedef SharedHandle<CheckIntegrityMan> CheckIntegrityManHandle;
-#endif // ENABLE_MESSAGE_DIGEST
class SocketEntry {
public:
@@ -128,9 +126,7 @@ public:
Commands commands;
RequestGroupManHandle _requestGroupMan;
FileAllocationManHandle _fileAllocationMan;
-#ifdef ENABLE_MESSAGE_DIGEST
CheckIntegrityManHandle _checkIntegrityMan;
-#endif // ENABLE_MESSAGE_DIGEST
const Option* option;
DownloadEngine();