X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Ffreenet%2Fintroductionpuzzleinserter.h;h=e376dbf208cb5461be1beeb24aeabf519e8a73d3;hp=9cd88e3574a71d76549d1307f1d51644a17e6c3d;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=b88f50bfec6dbcd169bb8285e7c42b93baf52b6b diff --git a/include/freenet/introductionpuzzleinserter.h b/include/freenet/introductionpuzzleinserter.h index 9cd88e3..e376dbf 100644 --- a/include/freenet/introductionpuzzleinserter.h +++ b/include/freenet/introductionpuzzleinserter.h @@ -9,16 +9,16 @@ class IntroductionPuzzleInserter:public IIndexInserter { public: - IntroductionPuzzleInserter(); - IntroductionPuzzleInserter(FCPv2 *fcp); + IntroductionPuzzleInserter(SQLite3DB::DB *db); + IntroductionPuzzleInserter(SQLite3DB::DB *db, FCPv2::Connection *fcp); private: void Initialize(); void CheckForNeededInsert(); const bool StartInsert(const long &localidentityid); void GenerateCaptcha(std::string &encodeddata, std::string &solution); - const bool HandlePutSuccessful(FCPMessage &message); - const bool HandlePutFailed(FCPMessage &message); + const bool HandlePutSuccessful(FCPv2::Message &message); + const bool HandlePutFailed(FCPv2::Message &message); Poco::DateTime m_lastchecked; int m_maxpuzzleinserts;