ex03 finished

This commit is contained in:
aortigos
2026-02-18 21:28:38 +01:00
parent 7539e90e6a
commit 57eefd3b37
3 changed files with 73 additions and 11 deletions

View File

@@ -14,16 +14,26 @@
# define INTERN_HPP
# include <iostream>
# include <string>
# include "../AForm/AForm.hpp"
# include "../ShrubberyCreationForm/ShrubberyCreationForm.hpp"
# include "../RobotomyRequestForm/RobotomyRequestForm.hpp"
# include "../PresidentialPardonForm/PresidentialPardonForm.hpp"
class Intern
{
private:
AForm* createShrubbery(const std::string &target);
AForm* createRobotomy(const std::string &target);
AForm* createPardon(const std::string &target);
public:
Intern();
Intern(const Intern &other);
Intern& operator=(const Intern &other);
~Intern();
AForm* makeForm(const std::string &formName, const std::string &target);
};
#endif