1 #ifndef _simple_captcha_
\r
2 #define _simple_captcha_
\r
6 #include "icaptcha.h"
\r
8 class SimpleCaptcha:public ICaptcha
\r
14 const bool GetPuzzle(std::vector<unsigned char> &puzzle);
\r
15 const bool GetSolution(std::vector<unsigned char> &solution);
\r
18 const std::string GenerateRandomString(const int len);
\r
19 void ReadPuzzleData(const std::string &filename);
\r
21 std::vector<unsigned char> m_puzzle;
\r
22 std::vector<unsigned char> m_solution;
\r
26 #endif // _simple_captcha_
\r