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