version 0.3.28
[fms.git] / include / freenet / identityintroductioninserter.h
index d975104..77f2bba 100644 (file)
@@ -2,23 +2,24 @@
 #define _identityintroductioninserter_\r
 \r
 #include "../idatabase.h"\r
-#include "../datetime.h"\r
 #include "../ilogger.h"\r
 #include "ifreenetregistrable.h"\r
 #include "ifcpconnected.h"\r
 #include "ifcpmessagehandler.h"\r
 #include "iperiodicprocessor.h"\r
 \r
+#include <Poco/DateTime.h>\r
+\r
 class IdentityIntroductionInserter:public IFreenetRegistrable,public IFCPConnected,public IFCPMessageHandler,public IPeriodicProcessor,public IDatabase,public ILogger\r
 {\r
 public:\r
        IdentityIntroductionInserter();\r
-       IdentityIntroductionInserter(FCPv2 *fcp);\r
+       IdentityIntroductionInserter(FCPv2::Connection *fcp);\r
 \r
        void FCPConnected();\r
        void FCPDisconnected();\r
 \r
-       const bool HandleMessage(FCPMessage &message);\r
+       const bool HandleMessage(FCPv2::Message &message);\r
 \r
        void Process();\r
 \r
@@ -30,7 +31,7 @@ private:
        void StartInsert(const long localidentityid, const std::string &day, const std::string &UUID, const std::string &solution);\r
 \r
        std::string m_messagebase;\r
-       DateTime m_lastchecked;\r
+       Poco::DateTime m_lastchecked;\r
        bool m_inserting;\r
        \r
 };\r