~qwertitis-deactivatedaccount/linuxdcpp/i18n

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef HASHMANAGERLISTENER_H_
#define HASHMANAGERLISTENER_H_

#include "MerkleTree.h"

namespace dcpp {

class HashManagerListener {
public:
	virtual ~HashManagerListener() { }
	template<int I>	struct X { enum { TYPE = I }; };

	typedef X<0> TTHDone;

	virtual void on(TTHDone, const string& /* fileName */, const TTHValue& /* root */) throw() = 0;
};

}
#endif /*HASHMANAGERLISTENER_H_*/