summaryrefslogtreecommitdiff
path: root/src/SeedCheckCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/SeedCheckCommand.h')
-rw-r--r--src/SeedCheckCommand.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/SeedCheckCommand.h b/src/SeedCheckCommand.h
index 4ade4094..8716dad0 100644
--- a/src/SeedCheckCommand.h
+++ b/src/SeedCheckCommand.h
@@ -35,20 +35,26 @@
#ifndef _D_SEED_CHECK_COMMAND_H_
#define _D_SEED_CHECK_COMMAND_H_
+#include "Command.h"
#include "BtContextAwareCommand.h"
-#include "TorrentDownloadEngine.h"
+#include "DownloadEngine.h"
#include "TimeA2.h"
#include "SeedCriteria.h"
+#include "RequestGroupAware.h"
-class SeedCheckCommand : public BtContextAwareCommand {
+class SeedCheckCommand : public Command,
+ public BtContextAwareCommand,
+ public RequestGroupAware
+{
private:
- TorrentDownloadEngine* e;
+ DownloadEngine* e;
Time checkPoint;
SeedCriteriaHandle seedCriteria;
bool checkStarted;
public:
SeedCheckCommand(int cuid,
- TorrentDownloadEngine* e,
+ RequestGroup* requestGroup,
+ DownloadEngine* e,
const BtContextHandle& btContext,
SeedCriteriaHandle seedCriteria);