aboutsummaryrefslogtreecommitdiff
path: root/include/Group.hpp
diff options
context:
space:
mode:
authorAleksi Lindeman <aleksi_888@hotmail.com>2018-01-28 07:35:37 +0100
committerAleksi Lindeman <aleksi_888@hotmail.com>2018-01-28 07:35:42 +0100
commit80a9c135b8bdca64246f147f22d98485e0f05ee5 (patch)
treecbba6fc450225efe357d9597b2afc1e30283fe16 /include/Group.hpp
parent0fb28e5bc188440236f0b8888fd520892c97094d (diff)
Add some files...
Diffstat (limited to 'include/Group.hpp')
-rw-r--r--include/Group.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/Group.hpp b/include/Group.hpp
new file mode 100644
index 0000000..dafc05a
--- /dev/null
+++ b/include/Group.hpp
@@ -0,0 +1,20 @@
+#pragma once
+
+#include <opendht/crypto.h>
+#include <string>
+#include <vector>
+
+namespace odhtdb
+{
+ class User;
+
+ class Group
+ {
+ public:
+ ~Group();
+ private:
+ dht::crypto::PublicKey publicKey;
+ std::string name;
+ std::vector<User*> users;
+ };
+} \ No newline at end of file