diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-14 03:07:43 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:46 +0200 |
commit | 4241bcd4e14095e4340a0300e205f6fdc503f1d8 (patch) | |
tree | 609041efdeac4cd8836c3b0a8569ffdf956c4d5d /include/odhtdb/RemoteUser.hpp | |
parent | b995e79eaf3ac940547beb902c1e1da5c08308ec (diff) |
Remove user/group classes, user public key/group id directly to database instead
Diffstat (limited to 'include/odhtdb/RemoteUser.hpp')
-rw-r--r-- | include/odhtdb/RemoteUser.hpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/odhtdb/RemoteUser.hpp b/include/odhtdb/RemoteUser.hpp deleted file mode 100644 index 2658132..0000000 --- a/include/odhtdb/RemoteUser.hpp +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once - -#include "User.hpp" - -namespace odhtdb -{ - class RemoteUser : public User - { - public: - static RemoteUser* create(const Signature::PublicKey &publicKey, Group *group) - { - return new RemoteUser(publicKey, group); - } - - const Signature::PublicKey& getPublicKey() const override - { - return publicKey; - } - private: - RemoteUser(const Signature::PublicKey &_publicKey, Group *group) : User(User::Type::REMOTE, group), publicKey(_publicKey) {} - private: - Signature::PublicKey publicKey; - }; -} |