/* */ #ifndef _D_PEER_LIST_PROCESSOR_H_ #define _D_PEER_LIST_PROCESSOR_H_ #include "common.h" #include "SharedHandle.h" #include namespace aria2 { class MetaEntry; class Peer; class PeerListProcessor { public: virtual ~PeerListProcessor() {} virtual std::deque > extractPeer(const MetaEntry* peersEntry) = 0; virtual bool canHandle(const MetaEntry* peersEntry) const = 0; }; typedef SharedHandle PeerListProcessorHandle; } // namespace aria2 #endif // _D_PEER_LIST_PROCESSOR_H_