diff options
Diffstat (limited to 'cpp05/ex03/PresidentialPardonForm.hpp')
| -rw-r--r-- | cpp05/ex03/PresidentialPardonForm.hpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/cpp05/ex03/PresidentialPardonForm.hpp b/cpp05/ex03/PresidentialPardonForm.hpp new file mode 100644 index 0000000..fcf8a70 --- /dev/null +++ b/cpp05/ex03/PresidentialPardonForm.hpp @@ -0,0 +1,34 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* PresidentialPardonForm.hpp :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle <me@cacharle.xyz> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/10/19 13:42:46 by cacharle #+# #+# */ +/* Updated: 2020/11/17 17:02:03 by charles ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef PRESIDENTIALPARDONFORM_HPP +# define PRESIDENTIALPARDONFORM_HPP + +# include "Form.hpp" + +class PresidentialPardonForm : public Form +{ +public: + PresidentialPardonForm(const PresidentialPardonForm& other); + PresidentialPardonForm& operator=(const PresidentialPardonForm& other); + ~PresidentialPardonForm(); + + PresidentialPardonForm(std::string const& target); + +private: + PresidentialPardonForm(); + virtual void executeUnsafe() const; + + std::string m_target; +}; + +#endif |
