aria2/test/MockPieceSelector.h
Tatsuhiro Tsujikawa 2b458da480 2010-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made #include guard consistent for c++ header files.
2010-10-31 07:23:53 +00:00

20 lines
344 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
{
return false;
}
};
} // namespace aria2
#endif // D_MOCK_PIECE_SELECTOR_H