/* */ #ifndef _D_PIECE_SELECTOR_H_ #define _D_PIECE_SELECTOR_H_ #include "common.h" #include namespace aria2 { class PieceSelector { public: virtual ~PieceSelector() {} virtual bool select (size_t& index, const unsigned char* bitfield, size_t nbits) const = 0; }; } // namespace aria2 #endif // _D_PIECE_SELECTOR_H_