mirror of
https://github.com/aria2/aria2.git
synced 2025-01-24 10:41:18 +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.
22 lines
477 B
C++
22 lines
477 B
C++
#ifndef _D_MOCK_DHT_MESSAGE_CALLBACK_H_
|
|
#define _D_MOCK_DHT_MESSAGE_CALLBACK_H_
|
|
|
|
#include "DHTMessageCallback.h"
|
|
|
|
namespace aria2 {
|
|
|
|
class MockDHTMessageCallback:public DHTMessageCallback {
|
|
public:
|
|
MockDHTMessageCallback() {}
|
|
|
|
virtual ~MockDHTMessageCallback() {}
|
|
|
|
virtual void onReceived(const SharedHandle<DHTMessage>& message) {}
|
|
|
|
virtual void onTimeout(const SharedHandle<DHTNode>& remoteNode) {}
|
|
};
|
|
|
|
} // namespace aria2
|
|
|
|
#endif // _D_MOCK_DHT_MESSAGE_CALLBACK_H_
|