mirror of
https://github.com/aria2/aria2.git
synced 2025-01-04 09:03:46 +00:00
20 lines
380 B
C++
20 lines
380 B
C++
#ifndef D_MOCK_PIECE_SELECTOR_H
|
|
#define D_MOCK_PIECE_SELECTOR_H
|
|
|
|
#include "PieceSelector.h"
|
|
|
|
namespace aria2 {
|
|
|
|
class MockPieceSelector : public PieceSelector {
|
|
public:
|
|
virtual bool select(size_t& index, const unsigned char* bitfield,
|
|
size_t nbits) const CXX11_OVERRIDE
|
|
{
|
|
return false;
|
|
}
|
|
};
|
|
|
|
} // namespace aria2
|
|
|
|
#endif // D_MOCK_PIECE_SELECTOR_H
|