1 /* This file is part of pr-downloader (GPL v2 or later), see the LICENSE file */ 2 3 #ifndef PLASMA_DOWNLOADER_H 4 #define PLASMA_DOWNLOADER_H 5 6 #include "Downloader/IDownloader.h" 7 8 class CPlasmaDownloader: public IDownloader 9 { 10 public: 11 CPlasmaDownloader(); 12 virtual bool search(std::list<IDownload*>& result, const std::string& name, IDownload::category cat=IDownload::CAT_NONE); 13 virtual bool download(IDownload* download, int max_parallel = 10); 14 15 private: 16 std::string torrentPath; 17 }; 18 19 #endif 20