1 #ifndef _introductionpuzzle_inserter_
\r
2 #define _introductionpuzzle_inserter_
\r
4 #include "iindexinserter.h"
\r
6 #include <Poco/DateTime.h>
\r
8 class IntroductionPuzzleInserter:public IIndexInserter<long>
\r
11 IntroductionPuzzleInserter();
\r
12 IntroductionPuzzleInserter(FCPv2 *fcp);
\r
16 void CheckForNeededInsert();
\r
17 const bool StartInsert(const long &localidentityid);
\r
18 void GenerateCaptcha(std::string &encodeddata, std::string &solution);
\r
19 const bool HandlePutSuccessful(FCPMessage &message);
\r
20 const bool HandlePutFailed(FCPMessage &message);
\r
22 Poco::DateTime m_lastchecked;
\r
26 #endif // _introductionpuzzle_inserter_
\r