diff options
Diffstat (limited to 'src/TrackerUpdateCommand.h')
| -rw-r--r-- | src/TrackerUpdateCommand.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/TrackerUpdateCommand.h b/src/TrackerUpdateCommand.h index a4a0ad10..13dd5796 100644 --- a/src/TrackerUpdateCommand.h +++ b/src/TrackerUpdateCommand.h @@ -35,18 +35,21 @@ #ifndef _D_TRACKER_UPDATE_COMMAND_H_ #define _D_TRACKER_UPDATE_COMMAND_H_ -#include "Command.h" +#include "BtContextAwareCommand.h" #include "TorrentDownloadEngine.h" #include "Logger.h" -class TrackerUpdateCommand : public Command { +class TrackerUpdateCommand : public BtContextAwareCommand { private: TorrentDownloadEngine* e; const Logger* logger; bool prepareForRetry(); char* getTrackerResponse(size_t& trackerResponseLength); public: - TrackerUpdateCommand(int cuid, TorrentDownloadEngine* e); + TrackerUpdateCommand(int cuid, + TorrentDownloadEngine* e, + const BtContextHandle& btContext); + virtual ~TrackerUpdateCommand(); bool execute(); |
