diff options
Diffstat (limited to 'include/dchat/User.hpp')
-rw-r--r-- | include/dchat/User.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/dchat/User.hpp b/include/dchat/User.hpp new file mode 100644 index 0000000..4021c78 --- /dev/null +++ b/include/dchat/User.hpp @@ -0,0 +1,16 @@ +#pragma once + +#include <string> +#include <odhtdb/Signature.hpp> + +namespace dchat +{ + class User + { + public: + User(const odhtdb::Signature::PublicKey &_publicKey) : publicKey(_publicKey), userdata(nullptr) {} + const odhtdb::Signature::PublicKey publicKey; + std::string nickname; + void *userdata; + }; +}
\ No newline at end of file |