diff options
author | Aleksi Lindeman <aleksi_888@hotmail.com> | 2018-02-01 21:15:13 +0100 |
---|---|---|
committer | Aleksi Lindeman <aleksi_888@hotmail.com> | 2018-02-01 21:15:19 +0100 |
commit | 6f1089db78f14b52b869f5aaa979e52ff5e4c2d7 (patch) | |
tree | d79f7abfb0fb9f3d58f9716741512b63fb4193ec /include/LocalUser.hpp | |
parent | 80a9c135b8bdca64246f147f22d98485e0f05ee5 (diff) |
Sync time with ntp server, starting with basic operations
Diffstat (limited to 'include/LocalUser.hpp')
-rw-r--r-- | include/LocalUser.hpp | 17 |
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 |