X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Ffreenet%2Fmessagelistrequester.h;h=079fbe744190a1e0b0877c444730a0b6a0ec628f;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=f960fb171e3a79b29084eb5ad4e1fc6230a7b994;hpb=d5c9f7e6c1dd263dfc85a3cb5941a378a5ddd923;p=fms.git diff --git a/include/freenet/messagelistrequester.h b/include/freenet/messagelistrequester.h index f960fb1..079fbe7 100644 --- a/include/freenet/messagelistrequester.h +++ b/include/freenet/messagelistrequester.h @@ -8,16 +8,16 @@ class MessageListRequester:public IIndexRequester { public: - MessageListRequester(); - MessageListRequester(FCPv2 *fcp); + MessageListRequester(SQLite3DB::DB *db); + MessageListRequester(SQLite3DB::DB *db, FCPv2::Connection *fcp); private: - void Initialize(); - void PopulateIDList(); + virtual void Initialize(); + virtual void PopulateIDList(); void StartRequest(const long &id); - void StartRedirectRequest(FCPMessage &message); - const bool HandleAllData(FCPMessage &message); - const bool HandleGetFailed(FCPMessage &message); + void StartRedirectRequest(FCPv2::Message &message); + const bool HandleAllData(FCPv2::Message &message); + const bool HandleGetFailed(FCPv2::Message &message); void GetBoardList(std::map &boards); const bool CheckDateNotFuture(const std::string &datestr) const; const bool CheckDateWithinMaxDays(const std::string &datestr) const;