From bd2bd91ac947a7b1f6d097d7efa4b0ab2041d4db Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 28 Jan 2018 07:35:37 +0100 Subject: Add some files... --- include/Key.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/Key.hpp (limited to 'include/Key.hpp') diff --git a/include/Key.hpp b/include/Key.hpp new file mode 100644 index 0000000..e9f0591 --- /dev/null +++ b/include/Key.hpp @@ -0,0 +1,14 @@ +#pragma once + +#include + +namespace odhtdb +{ + class Key + { + public: + Key(const char *key) : hashedKey(dht::InfoHash::get(key)) {} + + dht::InfoHash hashedKey; + }; +} \ No newline at end of file -- cgit v1.2.3