1 #ifndef _introductionpuzzle_inserter_
\r
2 #define _introductionpuzzle_inserter_
\r
4 #include "iindexinserter.h"
\r
6 //class IntroductionPuzzleInserter:public IFreenetRegistrable,public IFCPConnected,public IFCPMessageHandler,public IPeriodicProcessor,public IDatabase,public ILogger
\r
7 class IntroductionPuzzleInserter:public IIndexInserter<long>
\r
10 IntroductionPuzzleInserter();
\r
11 IntroductionPuzzleInserter(FCPv2 *fcp);
\r
15 void CheckForNeededInsert();
\r
16 const bool StartInsert(const long &localidentityid);
\r
17 void GenerateCaptcha(std::string &encodeddata, std::string &solution);
\r
18 const bool HandlePutSuccessful(FCPMessage &message);
\r
19 const bool HandlePutFailed(FCPMessage &message);
\r
21 DateTime m_lastchecked;
\r
25 #endif // _introductionpuzzle_inserter_
\r