/* */ #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