mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 05:27:38 +03:00
Removed "using namespace std;" from all sources. Appended std:: prefix to c++ standard classes. Included string.h where mem* function are used.
27 lines
449 B
C++
27 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_
|