aboutsummaryrefslogtreecommitdiff
path: root/include/LocalUser.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-02-01 21:15:13 +0100
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:12 +0200
commit1c7e6e074155499155adbbb651db1c66f1762ba2 (patch)
treec08a95e772c8e23228a2be78e308aba313034f26 /include/LocalUser.hpp
parentbd2bd91ac947a7b1f6d097d7efa4b0ab2041d4db (diff)
Sync time with ntp server, starting with basic operations
Diffstat (limited to 'include/LocalUser.hpp')
-rw-r--r--include/LocalUser.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/LocalUser.hpp b/include/LocalUser.hpp
new file mode 100644
index 0000000..200f30f
--- /dev/null
+++ b/include/LocalUser.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "User.hpp"
+
+namespace odhtdb
+{
+ class LocalUser : public User
+ {
+ public:
+ static LocalUser* create(const std::string &name)
+ {
+ return new LocalUser(name);
+ }
+ private:
+ LocalUser(const std::string &name) : User(name){}
+ };
+} \ No newline at end of file