#include "../../include/freenet/siteinserter.h"\r
#include "../../include/freenet/fileinserter.h"\r
#include "../../include/freenet/fmsversionrequester.h"\r
+#ifdef FROST_SUPPORT\r
+ #include "../../include/freenet/frostmessagerequester.h"\r
+#endif\r
\r
#include <Poco/UUID.h>\r
#include <Poco/UUIDGenerator.h>\r
void FreenetMasterThread::Setup()\r
{\r
\r
+ std::string temp="";\r
Option option(m_db);\r
if(option.Get("FCPHost",m_fcphost)==false)\r
{\r
m_registrables.push_back(new SiteInserter(m_db,&m_fcp));\r
m_registrables.push_back(new FileInserter(m_db,&m_fcp));\r
m_registrables.push_back(new FMSVersionRequester(m_db,&m_fcp));\r
+#ifdef FROST_SUPPORT\r
+ temp="";\r
+ option.Get("DownloadFrostMessages",temp);\r
+ if(temp=="true")\r
+ {\r
+ m_registrables.push_back(new FrostMessageRequester(m_db,&m_fcp));\r
+ }\r
+#endif\r
\r
for(std::vector<IFreenetRegistrable *>::iterator i=m_registrables.begin(); i!=m_registrables.end(); i++)\r
{\r