aboutsummaryrefslogtreecommitdiff
path: root/include/Group.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-01-28 07:35:37 +0100
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:12 +0200
commitbd2bd91ac947a7b1f6d097d7efa4b0ab2041d4db (patch)
treed934d57f39c8ce321688308317476baacd4efd83 /include/Group.hpp
parent2ca8686eabc3b624c9981509c161b9be6af439cb (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