diff options
Diffstat (limited to 'week10/Exercise08/Moderator.h')
| -rw-r--r-- | week10/Exercise08/Moderator.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/week10/Exercise08/Moderator.h b/week10/Exercise08/Moderator.h new file mode 100644 index 0000000..41bb5c6 --- /dev/null +++ b/week10/Exercise08/Moderator.h @@ -0,0 +1,20 @@ +#pragma once +#include "User.h" + +class Moderator : public User { +protected: + char* signature; + + void free(); + void copyFrom(const Moderator& other); + +public: + Moderator(); + ~Moderator(); + Moderator(const Moderator& other); + Moderator& operator=(const Moderator& other); + Moderator(Moderator&& other); + Moderator& operator=(Moderator&& other); + + const char* GetSignature(); +}; |
