/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ShrubberyCreationForm.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/02/20 16:41:49 by fgras-ca #+# #+# */ /* Updated: 2024/03/11 15:09:14 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef SHRUBBERYCREATIONFORM_HPP #define SHRUBBERYCREATIONFORM_HPP #include "AForm.hpp" #include "Bureaucrat.hpp" #include #include #define RESET "\033[0m" #define GREEN "\033[32m" #define CYAN "\033[36m" #define RED "\033[31m" class ShrubberyCreationForm : public AForm { private: std::string target; public: ShrubberyCreationForm(); ShrubberyCreationForm(const std::string& target); ShrubberyCreationForm(const ShrubberyCreationForm& other); ShrubberyCreationForm& operator=(const ShrubberyCreationForm& other); virtual ~ShrubberyCreationForm(); void execute(Bureaucrat const &executor) const; std::string getTarget() const; }; #endif