/* */ #ifndef D_RAREST_PIECE_SELECTOR_H #define D_RAREST_PIECE_SELECTOR_H #include "PieceSelector.h" #include "SharedHandle.h" namespace aria2 { class PieceStatMan; class RarestPieceSelector:public PieceSelector { private: SharedHandle pieceStatMan_; public: RarestPieceSelector(const SharedHandle& pieceStatMan); virtual bool select (size_t& index, const unsigned char* bitfield, size_t nbits) const; }; } // namespace aria2 #endif // D_RAREST_PIECE_SELECTOR_H