mirror of
https://github.com/aria2/aria2.git
synced 2025-01-09 19:41:42 +00:00
1b7c198289
Removed "using namespace std;" from all sources. Appended std:: prefix to c++ standard classes. Included string.h where mem* function are used.
28 lines
449 B
C++
28 lines
449 B
C++
#ifndef _D_MOCK_DHT_TASK_H_
|
|
#define _D_MOCK_DHT_TASK_H_
|
|
|
|
#include "DHTTask.h"
|
|
#include "DHTNode.h"
|
|
|
|
namespace aria2 {
|
|
|
|
class MockDHTTask:public DHTTask {
|
|
public:
|
|
SharedHandle<DHTNode> _remoteNode;
|
|
|
|
MockDHTTask(const SharedHandle<DHTNode>& remoteNode):_remoteNode(remoteNode) {}
|
|
|
|
virtual ~MockDHTTask() {}
|
|
|
|
virtual void startup() {}
|
|
|
|
virtual bool finished()
|
|
{
|
|
return false;
|
|
}
|
|
};
|
|
|
|
} // namespace aria2
|
|
|
|
#endif // _D_MOCK_DHT_TASK_H_
|