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