/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/24 13:16:27 by narnaud #+# #+# */ /* Updated: 2022/06/27 14:58:53 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #include "Bureaucrat.hpp" #include "PresidentialPardonForm.hpp" #include "RobotomyRequestForm.hpp" #include "ShrubberyCreationForm.hpp" int main(void) { Bureaucrat first("first", 1); Bureaucrat mid("midle", 75); Bureaucrat last("last", 150); ShrubberyCreationForm houseForm("House"); PresidentialPardonForm gerardForm("Gerard"); RobotomyRequestForm biduleForm("Bidule"); last.signForm(houseForm); last.signForm(gerardForm); last.signForm(biduleForm); first.signForm(houseForm); first.signForm(gerardForm); first.signForm(biduleForm); last.executeForm(houseForm); last.executeForm(gerardForm); last.executeForm(biduleForm); first.executeForm(houseForm); first.executeForm(gerardForm); first.executeForm(biduleForm); }