diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-11-01 07:16:38 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-11-01 07:16:39 +0100 |
commit | 88916c50b83bfad1ec1c5dd5f4e4f5d345851cb0 (patch) | |
tree | 8a318bf838f1be74e1957aef15b9e5c10ff068d9 /include/dchat/User.hpp | |
parent | 07c9e3d393db4b4d59262f7d9898be169ac2f927 (diff) |
Move code from dchat_gtk to generic place
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 |