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