1 #ifndef _simple_captcha_
\r
2 #define _simple_captcha_
\r
4 #include "icaptcha.h"
\r
6 class SimpleCaptcha:public ICaptcha
\r
12 const bool GetPuzzle(std::vector<unsigned char> &puzzle);
\r
13 const bool GetSolution(std::vector<unsigned char> &solution);
\r
16 const std::string GenerateRandomString(const int len);
\r
17 void ReadPuzzleData(const std::string &filename);
\r
19 std::vector<unsigned char> m_puzzle;
\r
20 std::vector<unsigned char> m_solution;
\r
24 #endif // _simple_captcha_
\r