/* */ #ifndef _D_TORRENT_REQUEST_INFO_H_ #define _D_TORRENT_REQUEST_INFO_H_ #include "RequestInfo.h" #include "TorrentDownloadEngine.h" class TorrentRequestInfo : public RequestInfo { private: string torrentFile; TorrentDownloadEngine* e; Strings targetFiles; void showFileEntry(); public: TorrentRequestInfo(const string& torrentFile, const Option* op): RequestInfo(op), torrentFile(torrentFile), e(0) {} virtual ~TorrentRequestInfo() {} virtual RequestInfo* execute(); void setTargetFiles(const Strings& targetFiles) { this->targetFiles = targetFiles; } virtual DownloadEngine* getDownloadEngine() { return e; } }; #endif // _D_TORRENT_REQUEST_INFO_H_