summaryrefslogtreecommitdiff
path: root/src/StatCalc.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-05-19 11:29:23 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-05-19 11:29:23 +0000
commit579457eae04317ab77788424e64f4bb334251d3c (patch)
tree7c18d2285bcd422326aff98d0d0609fba5530903 /src/StatCalc.h
parent20e215047c24ac5a63ff10d204003760811f2e2e (diff)
2009-05-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added SEED to console output, which represents the number of seeders currently the client is connecting to. * src/ConsoleStatCalc.cc * src/ConsoleStatCalc.h * src/DownloadEngine.cc * src/NullStatCalc.h * src/StatCalc.h
Diffstat (limited to 'src/StatCalc.h')
-rw-r--r--src/StatCalc.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/StatCalc.h b/src/StatCalc.h
index 635366db..7aea53f6 100644
--- a/src/StatCalc.h
+++ b/src/StatCalc.h
@@ -37,21 +37,16 @@
#include "common.h"
#include "SharedHandle.h"
-#include "FileAllocationMan.h"
-#include "CheckIntegrityMan.h"
namespace aria2 {
-class RequestGroupMan;
+class DownloadEngine;
class StatCalc {
public:
virtual ~StatCalc() {}
- virtual void
- calculateStat(const SharedHandle<RequestGroupMan>& requestGroupMan,
- const SharedHandle<FileAllocationMan>& fileAllocationMan,
- const SharedHandle<CheckIntegrityMan>& checkIntegrityMan) = 0;
+ virtual void calculateStat(const DownloadEngine* e) = 0;
};
typedef SharedHandle<StatCalc> StatCalcHandle;