d05 ex03 handle weird request as long as they contains form name
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
# include "colors.h"
|
||||
# include <iostream>
|
||||
# include <string>
|
||||
# include <algorithm> // trasnform
|
||||
# include <cctype> // tolower
|
||||
|
||||
# include <AForm.hpp>
|
||||
# include <ShrubberyCreationForm.hpp>
|
||||
@@ -34,6 +36,8 @@ private:
|
||||
static AForm * makePresidential(std::string const &target);
|
||||
static AForm * makeRobotomy(std::string const &target);
|
||||
|
||||
bool isValidForm(std::string name, unsigned int i) const;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user