ex03 finished
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user